If the power button was pressed while focused on a webview or Xorg window, the lock screen is not focused when the device is woken up from sleep (instead, the focus remains in the webview or Xorg window). This prevents the user from being able to press the Space key to unlock their device unless they first click on the lock screen to focus it.
We ideally need a function to allow us to focus gShell's main renderer that can be used in future fixes. After calling this function from wakeup, the active screen (not always the lock screen, for example when OOBS is in progress) itself should then be focused.
If the power button was pressed while focused on a
webview
or Xorg window, the lock screen is not focused when the device is woken up from sleep (instead, the focus remains in thewebview
or Xorg window). This prevents the user from being able to press the Space key to unlock their device unless they first click on the lock screen to focus it.We ideally need a function to allow us to focus gShell's main renderer that can be used in future fixes. After calling this function from wakeup, the active screen (not always the lock screen, for example when OOBS is in progress) itself should then be focused.