- Timestamp:
- Oct 25, 2017 10:22:08 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 118591
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp
r68315 r69273 1203 1203 1204 1204 /* Release keyboard: */ 1205 if (isSessionRunning() )1205 if (isSessionRunning() || isSessionStuck()) 1206 1206 releaseKeyboard(); 1207 1207 /* And all pressed keys: */ … … 1904 1904 } 1905 1905 1906 bool UIKeyboardHandler::isSessionStuck() 1907 { 1908 return uisession()->isStuck(); 1909 } 1910 1906 1911 UIMachineWindow* UIKeyboardHandler::isItListenedWindow(QObject *pWatchedObject) const 1907 1912 { -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.h
r68315 r69273 173 173 bool viewHasFocus(ulong uScreenId); 174 174 bool isSessionRunning(); 175 bool isSessionStuck(); 175 176 176 177 UIMachineWindow* isItListenedWindow(QObject *pWatchedObject) const;
Note:
See TracChangeset
for help on using the changeset viewer.