summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-07-21 20:24:59 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-07-21 20:24:59 -0700
commitc176208133d7da718ca1f580ad2604982ba0d05a (patch)
tree133b52ca935dd45a8bb3892e8daa7371e53e45d2
parentc11cc0f82c76a3675dac66e0100f0e89a0595f81 (diff)
downloadxrdp-proprietary-c176208133d7da718ca1f580ad2604982ba0d05a.tar.gz
xrdp-proprietary-c176208133d7da718ca1f580ad2604982ba0d05a.zip
xorg tests, randr, call XRRUpdateConfiguration on configure notify on root window
-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;