summaryrefslogtreecommitdiff
path: root/managed.c
diff options
context:
space:
mode:
authorGary Wong <gtw@gnu.org>2010-11-09 12:12:44 -0700
committerGary Wong <gtw@gnu.org>2012-01-30 13:20:12 -0700
commitdfb575033ef2138bec13c0b08107e2ff7f30573f (patch)
treeaf67d38e2f394c0437dfdc20b69c9ec825babd9a /managed.c
parent4c373f89d60630cc69e6ab4156734f1b3a431aec (diff)
Add support for RANDR extension.
Track screen and CRTC geometry changes, and use sensible window and menu placement policies when multiple CRTCs are present.
Diffstat (limited to 'managed.c')
-rw-r--r--managed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/managed.c b/managed.c
index 31d8ba4..a510441 100644
--- a/managed.c
+++ b/managed.c
@@ -795,7 +795,7 @@ static void managed_shape_notify( struct gwm_window *window,
}
#endif
-const event_handler managed_handlers[] = {
+const event_handler managed_handlers[ NUM_EXTENDED_EVENTS ] = {
NULL, /* Error */
NULL, /* Reply */
NULL, /* KeyPress */
@@ -832,6 +832,7 @@ const event_handler managed_handlers[] = {
NULL, /* ClientMessage */
NULL, /* MappingNotify */
NULL, /* (synthetic) */
+ NULL, /* RRNotify */
#if USE_SHAPE
(event_handler) managed_shape_notify
#else