X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fscreen.h;h=558081b5a308c06018ba6976904a5accf51e3d1e;hb=cf67851d6d36eb45ae722ad017ecaf91ba4c21fd;hp=07a2cae02dda036716a621feb724094d4d52f6d8;hpb=7229bea3c60de23a5fa4ad46bcae6171044ade81;p=chaz%2Fopenbox diff --git a/openbox/screen.h b/openbox/screen.h index 07a2cae0..558081b5 100644 --- a/openbox/screen.h +++ b/openbox/screen.h @@ -1,7 +1,7 @@ /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- screen.h for the Openbox window manager - Copyright (c) 2003 Ben Jansens + Copyright (c) 2003-2007 Dana Jansens This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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();