Changeset 36374 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 23, 2011 4:37:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp
r36098 r36374 546 546 } 547 547 548 #ifdef Q_WS_X11 549 /* Make sure that we are focused after a click. Rather 550 * ugly, but works around a problem with GNOME 551 * screensaver, which sometimes removes our input focus 552 * and gives us no way to get it back. */ 553 if (pEvent->type() == QEvent::MouseButtonRelease) 554 pWatchedWidget->window()->activateWindow(); 555 #endif /* Q_WS_X11 */ 548 556 /* Check if we should activate window under cursor: */ 549 557 if (!uisession()->isMouseCaptured() &&
Note:
See TracChangeset
for help on using the changeset viewer.