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

ulab-next
Jay Sorg 12 years ago
parent c11cc0f82c
commit c176208133

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

Loading…
Cancel
Save