X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.h;h=6f303ffff689014fcaf0f3415715b26953adb9d0;hb=05e9cb73ceffa9cb15732dbf307355394e608b2a;hp=c757332dd8a9266e39cc3732f89a1106bc2e24a5;hpb=45f6d5271226813ac15ecd69118fe6a947996fb6;p=chaz%2Fopenbox 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.