X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.h;h=558081b5a308c06018ba6976904a5accf51e3d1e;hb=37875f091d8a19818b6325923a57f6f7f3cd820c;hp=970cde34ee2684639b134eff851b6ecfd32431c7;hpb=2442cdfd85e5229c7ee4ac49ca66a7d55ffcb919;p=chaz%2Fopenbox diff --git a/openbox/screen.h b/openbox/screen.h index 970cde34..558081b5 100644 --- a/openbox/screen.h +++ b/openbox/screen.h @@ -38,6 +38,8 @@ extern guint screen_last_desktop; extern gboolean screen_showing_desktop; /*! The support window also used for focus and stacking */ extern Window screen_support_win; +/*! The last time at which the user changed desktops */ +extern Time screen_desktop_user_time; typedef struct DesktopLayout { ObOrientation orientation; @@ -74,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();