mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-28 07:30:08 +01:00
Make sure we set all fields used by XRRUpdateConfiguration.
This commit is contained in:
parent
56f82e2538
commit
b2a9bd694d
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue