Added toggleScreen function, using hot key to loop through all screens.

Comparing to switchToScreen, it is more handy since the user only need
to hit one hotkey.
This commit is contained in:
zhexiwang 2020-06-02 21:49:06 +08:00
parent dbd10820c3
commit b477efa706
11 changed files with 112 additions and 5 deletions

View file

@ -308,6 +308,7 @@ private:
void handleClientDisconnected(const Event&, void*);
void handleClientCloseTimeout(const Event&, void*);
void handleSwitchToScreenEvent(const Event&, void*);
void handleToggleScreenEvent(const Event&, void*);
void handleSwitchInDirectionEvent(const Event&, void*);
void handleKeyboardBroadcastEvent(const Event&,void*);
void handleLockCursorToScreenEvent(const Event&, void*);