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

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

@ -124,7 +124,9 @@ main(int argc, char **argv)
case ConfigureNotify: case ConfigureNotify:
if (ev.xconfigure.window == root_window) 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); ev.xconfigure.width, ev.xconfigure.height);
} }
break; break;

Loading…
Cancel
Save