Changeset 79640 in vbox
- Timestamp:
- Jul 9, 2019 11:22:28 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 131942
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp
r79365 r79640 269 269 * the keyboard before the target window sees the click. (GNOME Shell's hot corner has 270 270 * the same problem. At present we just let that problem be.) */ 271 272 # if QT_VERSION >= QT_VERSION_CHECK(5, 13, 0) 273 /* Make sure we really do still have the focus. Qt as of version 5.13 started 274 * reporting it with delay, so ask the X server directly. We could remove the 275 * version check some time in the future. If we do, remove the comment above 276 * about the focus notification dance, as it will no longer be relevant. */ 277 xcb_get_input_focus_cookie_t xcbFocusCookie = xcb_get_input_focus(QX11Info::connection()); 278 xcb_get_input_focus_reply_t *pFocusReply = xcb_get_input_focus_reply(QX11Info::connection(), xcbFocusCookie, 0); 279 xcb_window_t xcbFocusWindow = pFocusReply->focus; 280 free(pFocusReply); 281 if (xcbFocusWindow != m_windows[m_iKeyboardCaptureViewIndex]->winId()) 282 return true; 283 # endif 271 284 272 285 /* Grab the mouse button.
Note:
See TracChangeset
for help on using the changeset viewer.