summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xorg/tests/randr/trandr.c4
1 files changed, 3 insertions, 1 deletions
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;