summaryrefslogtreecommitdiff
path: root/openbox/screen.c
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/screen.c
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/screen.c')
-rw-r--r--openbox/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index a3589108..d69b2447 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -1617,7 +1617,7 @@ Rect* screen_area(guint desktop, guint head, Rect *search)
return a;
}
-guint screen_find_monitor(Rect *search)
+guint screen_find_monitor(const Rect const *search)
{
guint i;
guint most = screen_num_monitors;