summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
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.