Struct BasicApplicationSwitcher::KeybindConfiguration¶
Defined in File application_switcher.h
Nested Relationships¶
This struct is a nested type of Class BasicApplicationSwitcher.
Struct Documentation¶
-
struct KeybindConfiguration
Describes the keyboard shortcuts for the application switcher keyboard filter.
Public Members
-
MirInputEventModifier primary_modifier = mir_input_event_modifier_alt
This is the modifier that must be held for any application switcher action to begin.
Defaults to mir_input_event_modifier_alt.
-
MirInputEventModifier reverse_modifier = mir_input_event_modifier_shift
This is the modifier that must be held alongside the primary modifier in order to reverse the direction of an action being run. For example, holding the primary modifier and hitting the application key will select the next application, while holding both the primary and reverse modifiers and hitting the application will select the previous application.
Defaults to mir_input_event_modifier_shift.
-
int application_key = KEY_TAB
This is the key that must be clicked in order to trigger either miral::ApplicationSwitcher::next_app or miral::ApplicationSwitcher::prev_app, depending on the modifiers that are currently being held.
Defaults to KEY_TAB.
-
int window_key = KEY_GRAVE
This is the key that must be clicked in order to trigger either miral::ApplicationSwitcher::next_window or miral::ApplicationSwitcher::prev_window, depending on the modifiers that are currently being held.
Defaults to KEY_GRAVE.
-
MirInputEventModifier primary_modifier = mir_input_event_modifier_alt