From c176208133d7da718ca1f580ad2604982ba0d05a Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Sun, 21 Jul 2013 20:24:59 -0700 Subject: [PATCH] xorg tests, randr, call XRRUpdateConfiguration on configure notify on root window --- xorg/tests/randr/trandr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xorg/tests/randr/trandr.c b/xorg/tests/randr/trandr.c index b50f5ac2..4f7be527 100644 --- a/xorg/tests/randr/trandr.c +++ b/xorg/tests/randr/trandr.c @@ -124,7 +124,9 @@ main(int argc, char **argv) case ConfigureNotify: if (ev.xconfigure.window == root_window) { - printf("ConfigureNotify for root window width %d height %d\n", + XRRUpdateConfiguration(&ev); + printf("ConfigureNotify for root window " + "width %d height %d\n", ev.xconfigure.width, ev.xconfigure.height); } break;