diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-04 23:11:26 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-04 23:11:26 +0000 |
| commit | 68cc6e30b8d985d95016668a29aa273a75ce6d44 (patch) | |
| tree | 774a24d8152781c1a8418086339b924790575009 /openbox/client.h | |
| parent | a865fe603fb9843b2f7d7c4db259fd97dc3915b5 (diff) | |
remove the client_remaximize function, and replace it with the client_reconfigure function, which just calls client_configure with the window's current location and dimensions, user=TRUE and final=TRUE.
add support for the VIDMODE extension in client_configure, namely, fullscreen windows are positioned at the point of the viewport rather than at 0,0.
call client_reconfigure when uniconifying a window, so that fullscreen windows are put at the point of the view port.
Diffstat (limited to 'openbox/client.h')
| -rw-r--r-- | openbox/client.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/openbox/client.h b/openbox/client.h index 70fc5a97..e45b3771 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -318,11 +318,6 @@ void client_unmanage(Client *client); /*! Sets the client list on the root window from the client_list */ void client_set_list(); -/*! Reapplies the maximized state to the window - Use this to make the window readjust its maximized size to new - surroundings (struts, etc). */ -void client_remaximize(Client *self); - /*! Determines if the client should be shown or hidden currently. @return TRUE if it should be visible; otherwise, FALSE. */ @@ -354,6 +349,8 @@ gboolean client_focused(Client *self); void client_configure(Client *self, Corner anchor, int x, int y, int w, int h, gboolean user, gboolean final); +void client_reconfigure(Client *self); + /*! Moves a client so that it is on screen if it is entirely out of the viewable screen. */ |
