X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.h;h=dba6786e48dda7f393a31fa2b9bb789573def4f0;hb=c1f0f7c40fbbc33157d59b5e3db58a0801af5008;hp=fe37a7d7c8ef2592043d06e2cdead13da3a64c35;hpb=1aa0bc66eb45ba466d1d071d0e6c13631331e091;p=chaz%2Fopenbox diff --git a/openbox/client.h b/openbox/client.h index fe37a7d7..dba6786e 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -106,13 +106,13 @@ struct _ObClient is, rather, the position requested by the client, to which the window's gravity is applied. */ - Rect area; + Rect area; /*! The window's strut The strut defines areas of the screen that are marked off-bounds for window placement. In theory, where this window exists. */ - Strut strut; + StrutPartial strut; /*! The logical size of the window The "logical" size of the window is refers to the user's perception of @@ -120,7 +120,7 @@ struct _ObClient user. For example, with xterms, this value it the number of characters being displayed in the terminal, instead of the number of pixels. */ - Size logical_size; + Size logical_size; /*! Width of the border on the window. The window manager will set this to 0 while the window is being managed, @@ -460,6 +460,9 @@ ObClient *client_search_transient(ObClient *self, ObClient *search); /*! Return the "closest" client in the given direction */ ObClient *client_find_directional(ObClient *c, ObDirection dir); +/*! Return the closest edge in the given direction */ +int client_directional_edge_search(ObClient *c, ObDirection dir); + /*! Set a client window to be above/below other clients. @layer < 0 indicates the client should be placed below other clients.
= 0 indicates the client should be placed with other clients.
@@ -469,4 +472,6 @@ void client_set_layer(ObClient *self, int layer); guint client_monitor(ObClient *self); +gchar* client_get_sm_client_id(ObClient *self); + #endif