[SF#866]Correctly use screen number in pcmanfm_run() to select desktop.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Sun, 18 May 2014 22:29:58 +0000 (01:29 +0300)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Sun, 18 May 2014 22:29:58 +0000 (01:29 +0300)
src/pcmanfm.c

index 03f2f8b..872888a 100644 (file)
@@ -320,7 +320,7 @@ gboolean pcmanfm_run(gint screen_num)
     if(!files_to_open)
     {
         /* FIXME: use screen number from client and pointer position */
-        FmDesktop *desktop = fm_desktop_get(0, 0);
+        FmDesktop *desktop = fm_desktop_get(screen_num, 0);
 
         /* Launch desktop manager */
         if(show_desktop)