From db75d406ce6194dd85c142616071e55f9b831f60 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 21 Mar 2003 08:18:39 +0000 Subject: rm the focused member from the client struct, it was redundant with the focus_client variable around --- openbox/client.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'openbox/client.h') 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. -- cgit v1.2.3