From d3ca5d5b4c36f6b3e5f64e5332e907471ee2196e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 15 Jan 2010 14:50:36 -0500 Subject: Remember the maximized state of a window when it goes fullscreen and try restore it after --- openbox/client.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbox/client.h') diff --git a/openbox/client.h b/openbox/client.h index 7370efcf..5830066e 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -147,6 +147,9 @@ struct _ObClient Rect pre_max_area; /*! Position and size of the window prior to being fullscreened */ Rect pre_fullscreen_area; + /*! Remember if the window was maximized before going fullscreen */ + gboolean pre_fullscreen_max_horz, + pre_fullscreen_max_vert; /*! The window's strut The strut defines areas of the screen that are marked off-bounds for -- cgit v1.2.3