Make sure we set all fields used by XRRUpdateConfiguration.

This commit is contained in:
David Reveman 2008-08-03 10:13:23 -04:00
parent 56f82e2538
commit b2a9bd694d

View file

@ -1066,6 +1066,7 @@ dmxScreenEventCheckRR (ScreenPtr pScreen,
case XCB_CONFIGURE_NOTIFY: {
XEvent X;
X.xconfigure.type = XCB_CONFIGURE_NOTIFY;
X.xconfigure.display = dmxScreen->beDisplay;
X.xconfigure.window = xconfigure->window;
X.xconfigure.width = xconfigure->width;
@ -1081,6 +1082,7 @@ dmxScreenEventCheckRR (ScreenPtr pScreen,
case XCB_RANDR_SCREEN_CHANGE_NOTIFY: {
XRRScreenChangeNotifyEvent X;
X.type = event->response_type;
X.display = dmxScreen->beDisplay;
X.root = scevent->root;
X.width = scevent->width;