From 68cc6e30b8d985d95016668a29aa273a75ce6d44 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 4 Jun 2003 23:11:26 +0000 Subject: 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. --- openbox/client.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'openbox/client.h') 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. */ -- cgit v1.2.3