summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-12-09 13:25:19 -0500
committerDana Jansens <danakj@orodu.net>2009-12-09 13:25:19 -0500
commit324ba15ebc79eb95cf6ec9c0f7d42250fc30f11b (patch)
tree844de3ad3fe13214223fcc597d94429217e235a4 /openbox/client.h
parent9f74f1e244d90a60aa33e5921a66bb22e3faf073 (diff)
Fix the Focus/Activate actions to focus windows on other desktops correctly
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/openbox/client.h b/openbox/client.h
index 15ae2220..3b1e042c 100644
--- a/openbox/client.h
+++ b/openbox/client.h
@@ -577,13 +577,16 @@ gboolean client_focus(ObClient *self);
when the user deliberately selects a window for use.
@param desktop If true, and the window is on another desktop, it will still
be activated.
+ @param here If true, and the window is on another desktop, it will be moved
+ to the current desktop, otherwise the desktop will switch to
+ where the window is.
@param raise If true, the client is brought to the front.
@param unshade If true, the client is unshaded (if it is shaded)
@param user If true, then a user action is what requested the activation;
otherwise, it means an application requested it on its own
*/
-void client_activate(ObClient *self, gboolean desktop, gboolean raise,
- gboolean unshade, gboolean user);
+void client_activate(ObClient *self, gboolean desktop, gboolean here,
+ gboolean raise, gboolean unshade, gboolean user);
/*! Bring all of its helper windows to its desktop. These are the utility and
stuff windows. */