Fix behaviour after WM_TAKE_FOCUS
We should not call requestActivateWindow() in reaction to WM_TAKE_FOCUS. Looks like it should only be done if the focus should in fact go to a modal child of the widget.bb10
parent
819f9ca965
commit
b6b244efda
|
|
@ -985,7 +985,6 @@ void QXcbWindow::handleClientMessageEvent(const xcb_client_message_event_t *even
|
|||
QWindowSystemInterface::handleCloseEvent(window());
|
||||
} else if (event->data.data32[0] == atom(QXcbAtom::WM_TAKE_FOCUS)) {
|
||||
connection()->setTime(event->data.data32[1]);
|
||||
requestActivateWindow();
|
||||
} else if (event->data.data32[0] == atom(QXcbAtom::_NET_WM_PING)) {
|
||||
xcb_client_message_event_t reply = *event;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue