summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-12-08 11:32:40 -0500
committerDana Jansens <danakj@orodu.net>2009-12-08 13:56:37 -0500
commit07126124c9242a5a20883c3145464730e50afe94 (patch)
tree89124d70c3b3cb7d3df85618a8f273fb5f731df0 /openbox/client.h
parent11ecb7d2199d06b2929ba7e5d3c92c021038a0cc (diff)
Fix client_activate() to work for internal Openbox menus
client_activate() is a helpful way to focus a window on another desktop, but only Openbox is allowed to do such things, user messages cannot.
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/client.h b/openbox/client.h
index 832405cf..15ae2220 100644
--- a/openbox/client.h
+++ b/openbox/client.h
@@ -575,14 +575,14 @@ gboolean client_focus(ObClient *self);
/*! Activates the client for use, focusing, uniconifying it, etc. To be used
when the user deliberately selects a window for use.
- @param here If true, then the client is brought to the current desktop;
- otherwise, the desktop is changed to where the client lives.
+ @param desktop If true, and the window is on another desktop, it will still
+ be activated.
@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 here, gboolean raise,
+void client_activate(ObClient *self, gboolean desktop, gboolean raise,
gboolean unshade, gboolean user);
/*! Bring all of its helper windows to its desktop. These are the utility and