MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / handle_keyboard_key

Method handle_keyboard_key

plugins/single_plugins/switcher.cpp:217–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215 }
216
217 void handle_keyboard_key(wf::seat_t*, wlr_keyboard_key_event event) override
218 {
219 auto mod = wf::get_core().seat->modifier_from_keycode(event.keycode);
220 if ((event.state == WLR_KEY_RELEASED) && (mod & activating_modifiers))
221 {
222 handle_done();
223 }
224 }
225
226 wf::key_callback next_view_binding = [=] (auto)
227 {

Callers

nothing calls this directly

Calls 1

modifier_from_keycodeMethod · 0.80

Tested by

no test coverage detected