mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-25 06:59:42 -05:00
Working switches in rootston:
Factor out switch handling to separate file Add formal enum for toggle action Implement binding actions
This commit is contained in:
parent
62a9cf87fa
commit
810c7b700c
7 changed files with 60 additions and 16 deletions
|
|
@ -33,7 +33,8 @@ enum wlr_switch_type {
|
|||
|
||||
enum wlr_switch_state {
|
||||
WLR_SWITCH_STATE_OFF = 0,
|
||||
WLR_SWITCH_STATE_ON = 1,
|
||||
WLR_SWITCH_STATE_ON,
|
||||
WLR_SWITCH_STATE_TOGGLE
|
||||
};
|
||||
|
||||
struct wlr_event_switch_toggle {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue