mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-16 11:01:53 +08:00
fixed handling of jumping to primary when screen saver starts
and back to secondary when it stops. also now redirecting keyboard input to root window when screen saver starts; this allows the user to type in the lock dialog and also effectively discards any input used to deactivate the screen saver.
This commit is contained in:
@@ -137,7 +137,8 @@ private:
|
||||
bool isLockedToScreenNoLock() const;
|
||||
|
||||
// change the active screen
|
||||
void switchScreen(CScreenInfo*, SInt32 x, SInt32 y);
|
||||
void switchScreen(CScreenInfo*,
|
||||
SInt32 x, SInt32 y, bool forScreenSaver);
|
||||
|
||||
// lookup neighboring screen
|
||||
CScreenInfo* getNeighbor(CScreenInfo*, CConfig::EDirection) const;
|
||||
|
||||
Reference in New Issue
Block a user