X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.h;h=b4c510a71456cfac05e9e143803b6fbca714b82f;hb=a7f65a818c48e272aa9c8c49f2339b46b794078e;hp=bedc2e6dd8e87a4dbc6a96d73fc38c64d0798e67;hpb=0116d82463197bea2890230d71a69e4b92489166;p=chaz%2Fopenbox diff --git a/openbox/screen.h b/openbox/screen.h index bedc2e6d..b4c510a7 100644 --- a/openbox/screen.h +++ b/openbox/screen.h @@ -66,7 +66,7 @@ void screen_resize(); /*! Change the number of available desktops */ void screen_set_num_desktops(guint num); /*! Change the current desktop */ -void screen_set_desktop(guint num); +void screen_set_desktop(guint num, gboolean dofocus); /*! Interactively change desktops */ guint screen_cycle_desktop(ObDirection dir, gboolean wrap, gboolean linear, gboolean dialog, gboolean done, gboolean cancel); @@ -76,7 +76,7 @@ void screen_desktop_popup(guint d, gboolean show); /*! Shows and focuses the desktop and hides all the client windows, or returns to the normal state, showing client windows. */ -void screen_show_desktop(gboolean show); +void screen_show_desktop(gboolean show, gboolean restore_focus); /*! Updates the desktop layout from the root property if available */ void screen_update_layout();