mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-14 17:25:59 +01:00
32148808ad
This introduces the enter and leave events for wlr_keyboard_group. The enter event is emitted when a keyboard is added to the group while a key is pressed that is not pressed by any other keyboard in the group. The data is a wl_array of the pressed key codes unique to the keyboard that should now be considered pressed. Similarly the leave event is emitted when a keyboard is removed from the group while at least one key is pressed that is not pressed by any other keyboard in the group. The data is a wl_array of the pressed key codes unique to the keyboard that should now be considered released. The purpose of these events are to allow the compositor to update its state to avoid corruption. Additionally, for the leave event, the focused surface may have been notified of a key press for some or all of the key codes and needs to be notified of a key release to avoid state corruption. These were previously emitted as normal key events, but they are not normal key events. There is no actual key press or release associated with the events. It's purely for state keeping purposes. Emitting them as separate events allows the compositor to handle them differently. Since these are purely for state keeping purposes and are not associated with an actual key being pressed or released, bindings should not be triggered as a result of these events. |
||
---|---|---|
.. | ||
wlr_box.h | ||
wlr_buffer.h | ||
wlr_compositor.h | ||
wlr_cursor.h | ||
wlr_data_control_v1.h | ||
wlr_data_device.h | ||
wlr_export_dmabuf_v1.h | ||
wlr_foreign_toplevel_management_v1.h | ||
wlr_fullscreen_shell_v1.h | ||
wlr_gamma_control_v1.h | ||
wlr_gtk_primary_selection.h | ||
wlr_idle.h | ||
wlr_idle_inhibit_v1.h | ||
wlr_input_device.h | ||
wlr_input_inhibitor.h | ||
wlr_input_method_v2.h | ||
wlr_keyboard.h | ||
wlr_keyboard_group.h | ||
wlr_keyboard_shortcuts_inhibit_v1.h | ||
wlr_layer_shell_v1.h | ||
wlr_linux_dmabuf_v1.h | ||
wlr_list.h | ||
wlr_matrix.h | ||
wlr_output.h | ||
wlr_output_damage.h | ||
wlr_output_layout.h | ||
wlr_output_management_v1.h | ||
wlr_output_power_management_v1.h | ||
wlr_pointer.h | ||
wlr_pointer_constraints_v1.h | ||
wlr_pointer_gestures_v1.h | ||
wlr_presentation_time.h | ||
wlr_primary_selection.h | ||
wlr_primary_selection_v1.h | ||
wlr_region.h | ||
wlr_relative_pointer_v1.h | ||
wlr_screencopy_v1.h | ||
wlr_seat.h | ||
wlr_server_decoration.h | ||
wlr_surface.h | ||
wlr_switch.h | ||
wlr_tablet_pad.h | ||
wlr_tablet_tool.h | ||
wlr_tablet_v2.h | ||
wlr_text_input_v3.h | ||
wlr_touch.h | ||
wlr_virtual_keyboard_v1.h | ||
wlr_virtual_pointer_v1.h | ||
wlr_xcursor_manager.h | ||
wlr_xdg_decoration_v1.h | ||
wlr_xdg_output_v1.h | ||
wlr_xdg_shell.h | ||
wlr_xdg_shell_v6.h |