Blender V4.5
GWL_KeyRepeatPlayload Struct Reference

Classes

struct  [struct].key_data

Public Attributes

GWL_Seatseat = nullptr
xkb_keycode_t key_code
uint64_t time_ms_init
struct  key_data

Detailed Description

Data used to implement client-side key-repeat.

Note
it's important not to store the target window here as it can be closed while the key is repeating, instead use the focused keyboard from GWL_Seat which is cleared when windows are closed. Therefor keyboard events must always check the window has not been cleared.

Definition at line 657 of file GHOST_SystemWayland.cc.

Member Data Documentation

◆ key_code

xkb_keycode_t GWL_KeyRepeatPlayload::key_code

◆ key_data

◆ seat

GWL_Seat* GWL_KeyRepeatPlayload::seat = nullptr

◆ time_ms_init

uint64_t GWL_KeyRepeatPlayload::time_ms_init

Time this timer started.

Definition at line 663 of file GHOST_SystemWayland.cc.

Referenced by gwl_seat_key_repeat_timer_fn().


The documentation for this struct was generated from the following file: