diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-13 02:29:08 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-13 02:29:08 +0000 |
| commit | 7f58bd9eaaa8285a743be4b7b210568cfe588e3e (patch) | |
| tree | 01955b7baacfe24ed6124a95c2a96fac7e963158 /openbox/client.h | |
| parent | b2e08c0ad50a7422bcdd287b60c98868b61514ed (diff) | |
save and restore pre-maximized/fullscreen sizes properly
much cleanup on how per-app settings are applied to new mapping windows. maybe i broke it? but it'll be much quicker now, and it's consistant with the rest of the code, so hooray for that. pls let me know if i broke any of it :( hee..
Diffstat (limited to 'openbox/client.h')
| -rw-r--r-- | openbox/client.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/openbox/client.h b/openbox/client.h index 845d9ad2..2e5766e2 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -397,12 +397,8 @@ void client_move_onscreen(ObClient *self, gboolean rude); /*! Fullscreen's or unfullscreen's the client window @param fs true if the window should be made fullscreen; false if it should be returned to normal state. - @param savearea true to have the client's current size and position saved; - otherwise, they are not. You should not save when mapping a - new window that is set to fullscreen. This has no effect - when restoring a window from fullscreen. */ -void client_fullscreen(ObClient *self, gboolean fs, gboolean savearea); +void client_fullscreen(ObClient *self, gboolean fs); /*! Iconifies or uniconifies the client window @param iconic true if the window should be iconified; false if it should be @@ -417,13 +413,8 @@ void client_iconify(ObClient *self, gboolean iconic, gboolean curdesk); @param max true if the window should be maximized; false if it should be returned to normal size. @param dir 0 to set both horz and vert, 1 to set horz, 2 to set vert. - @param savearea true to have the client's current size and position saved; - otherwise, they are not. You should not save when mapping a - new window that is set to fullscreen. This has no effect - when unmaximizing a window. */ -void client_maximize(ObClient *self, gboolean max, gint dir, - gboolean savearea); +void client_maximize(ObClient *self, gboolean max, gint dir); /*! Shades or unshades the client window @param shade true if the window should be shaded; false if it should be |
