xorg tests, randr, call XRRUpdateConfiguration on configure notify on root window

This commit is contained in:
Jay Sorg 2013-07-21 20:24:59 -07:00
parent c11cc0f82c
commit c176208133
1 changed files with 3 additions and 1 deletions

View File

@ -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;