diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-07-30 06:19:15 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-07-30 06:19:15 +0000 |
| commit | 1aa0bc66eb45ba466d1d071d0e6c13631331e091 (patch) | |
| tree | 0ec5e69a17abbe59a0ddab6860c94af620d13e9a /openbox/client.h | |
| parent | b8ba52fabc8d696d7c9e6abb285a4781a6e7aed6 (diff) | |
improved ICCCM compliance!
a) send ConfigureNotify back to the client as required by the ICCCM in all sitatuations.
b) send the corrent coords in the ConfigureNotify, including the border width
c) remove the WM_STATE property when unmanaging a window
Diffstat (limited to 'openbox/client.h')
| -rw-r--r-- | openbox/client.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/openbox/client.h b/openbox/client.h index 4421f8fe..fe37a7d7 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -263,6 +263,9 @@ gboolean client_normal(ObClient *self); /* Returns if the window is focused */ gboolean client_focused(ObClient *self); +#define client_configure(self, anchor, x, y, w, h, user, final) \ + client_configure_full(self, anchor, x, y, w, h, user, final, FALSE) + /*! 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. @@ -277,10 +280,13 @@ gboolean client_focused(ObClient *self); configuration. e.g. Final should be FALSE if doing an interactive move/resize, and then be TRUE for the last call only. + @param force_reply Send a ConfigureNotify to the client regardless of if + the position changed. */ -void client_configure(ObClient *self, ObCorner anchor, - int x, int y, int w, int h, - gboolean user, gboolean final); +void client_configure_full(ObClient *self, ObCorner anchor, + int x, int y, int w, int h, + gboolean user, gboolean final, + gboolean force_reply); void client_reconfigure(ObClient *self); |
