summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-01-15 14:50:36 -0500
committerDana Jansens <danakj@orodu.net>2010-01-15 14:50:36 -0500
commitd3ca5d5b4c36f6b3e5f64e5332e907471ee2196e (patch)
tree2ac41f24d8257eb66bc780c180fff6369500d11b /openbox/client.h
parent54e04a520bd04ef7bc97c1fc2eef3495daa8a18f (diff)
Remember the maximized state of a window when it goes fullscreen and try restore it after
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h3
1 files changed, 3 insertions, 0 deletions
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