]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.h
focus new windows
[chaz/openbox] / openbox / client.h
index c757332dd8a9266e39cc3732f89a1106bc2e24a5..6f303ffff689014fcaf0f3415715b26953adb9d0 100644 (file)
@@ -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.
This page took 0.020409 seconds and 4 git commands to generate.