Force focus to geeqie after leaving fullscreen
authorWayne A. Ptaff <wayne@ptaff.ca>
Fri, 15 Jul 2016 15:51:42 +0000 (11:51 -0400)
committerWayne A. Ptaff <wayne@ptaff.ca>
Fri, 15 Jul 2016 15:51:42 +0000 (11:51 -0400)
On some multi-monitor setups / window manager
combinations, the geeqie main window does not
claim focus back after leaving fullscreen mode.

This fixes https://github.com/BestImageViewer/geeqie/issues/418

src/fullscreen.c

index b83f17a..1c81edc 100644 (file)
@@ -364,6 +364,8 @@ void fullscreen_stop(FullScreenData *fs)
 
        gtk_widget_destroy(fs->window);
 
+       gtk_window_present(fs->normal_window);
+
        g_free(fs);
 }