xcb: clear m_singlescreen before update
Pick-to: 6.4 6.3 Change-Id: Iafff57be82b5beb1f5702c00e0b6d7d0dd3ccdc2 Reviewed-by: Liang Qi <liang.qi@qt.io>bb10
parent
03e76ac23d
commit
fd9aeb1b38
|
|
@ -598,6 +598,7 @@ void QXcbScreen::setMonitor(xcb_randr_monitor_info_t *monitorInfo, xcb_timestamp
|
|||
m_crtcs.clear();
|
||||
m_output = XCB_NONE;
|
||||
m_crtc = XCB_NONE;
|
||||
m_singlescreen = false;
|
||||
|
||||
if (!monitorInfo) {
|
||||
m_monitor = nullptr;
|
||||
|
|
|
|||
Loading…
Reference in New Issue