summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-03-01 16:30:06 -0500
committerDana Jansens <danakj@orodu.net>2010-03-01 16:32:27 -0500
commit64adc0eeba598cb1469b2140777fba30e3053f0e (patch)
tree5930be9cc22e096f203dcefd6aefdc0c041126af /openbox/client.h
parent28df6162a9fbca4544e8f384d3fdae70870f531a (diff)
add a function client_is_oldfullscreen() that determines if a window is an "oldschool fullscreen window" or not. use this throughout. and allow oldschool fullscreen windows to move to 0,0 even with a strut there.
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbox/client.h b/openbox/client.h
index 5830066e..47da397a 100644
--- a/openbox/client.h
+++ b/openbox/client.h
@@ -490,6 +490,11 @@ void client_find_resize_directional(ObClient *self, ObDirection side,
*/
void client_fullscreen(ObClient *self, gboolean fs);
+/*! Determine if the window, using the given client-area, would be considered
+ as an "oldschool fullscreen" window, that is, if it is filling a whole
+ monitor. */
+gboolean client_is_oldfullscreen(const ObClient const *self, const Rect *area);
+
/*! Iconifies or uniconifies the client window
@param iconic true if the window should be iconified; false if it should be
restored.