summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-21 08:18:39 +0000
committerDana Jansens <danakj@orodu.net>2003-03-21 08:18:39 +0000
commitdb75d406ce6194dd85c142616071e55f9b831f60 (patch)
tree6adc0ce1981de73b358b76cb26bb6c9821907dd4 /openbox/client.h
parentca45916f77822dcd48a4d4f459c719e5e000a4b7 (diff)
rm the focused member from the client struct, it was redundant with the focus_client variable around
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/openbox/client.h b/openbox/client.h
index c757332d..6f303fff 100644
--- a/openbox/client.h
+++ b/openbox/client.h
@@ -217,8 +217,6 @@ typedef struct Client {
gboolean urgent;
/*! Notify the window when it receives focus? */
gboolean focus_notify;
- /*! Does the client window have the input focus? */
- gboolean focused;
/*! The window uses shape extension to be non-rectangular? */
gboolean shaped;
@@ -319,6 +317,9 @@ gboolean client_should_show(Client *self);
to them in a number of places regarding focus or user interaction. */
gboolean client_normal(Client *self);
+/* Returns if the window is focused */
+gboolean client_focused(Client *self);
+
/*! Move and/or resize the window.
This also maintains things like the client's minsize, and size increments.
@param anchor The corner to keep in the same position when resizing.