diff --git a/src/lib/deskflow/IPlatformScreen.h b/src/lib/deskflow/IPlatformScreen.h index be0d56ba9..e2408b6bf 100644 --- a/src/lib/deskflow/IPlatformScreen.h +++ b/src/lib/deskflow/IPlatformScreen.h @@ -95,7 +95,7 @@ public: //! Close screen saver /*! - // Close the screen saver. Stop reporting screen saver activation + Close the screen saver. Stop reporting screen saver activation and deactivation and, if the screen saver was disabled by openScreensaver(), enable the screen saver. */ diff --git a/src/lib/platform/XWindowsScreen.cpp b/src/lib/platform/XWindowsScreen.cpp index 020608cbe..0f19f1e19 100644 --- a/src/lib/platform/XWindowsScreen.cpp +++ b/src/lib/platform/XWindowsScreen.cpp @@ -293,11 +293,10 @@ void XWindowsScreen::enter() // keyboard if they're grabbed. XUnmapWindow(m_display, m_window); - /* maybe call this if entering for the screensaver - // set keyboard focus to root window. the screensaver should then - // pick up key events for when the user enters a password to unlock. - XSetInputFocus(m_display, PointerRoot, PointerRoot, CurrentTime); - */ + // maybe call this if entering for the screensaver + // set keyboard focus to root window. the screensaver should then + // pick up key events for when the user enters a password to unlock. + // XSetInputFocus(m_display, PointerRoot, PointerRoot, CurrentTime); if (!m_isPrimary) { // get the keyboard control state