Desktop Window Manager Events.
More...
Desktop Window Manager Events.
◆ EVENT_SCREEN_INFO
| #define EVENT_SCREEN_INFO 0 |
◆ EVENT_SURFACE_NEW
| #define EVENT_SURFACE_NEW 1 |
◆ EVENT_KBD
◆ EVENT_MOUSE
◆ EVENT_TIMER
◆ EVENT_CURSOR_ENTER
| #define EVENT_CURSOR_ENTER 5 |
◆ EVENT_CURSOR_LEAVE
| #define EVENT_CURSOR_LEAVE 6 |
◆ EVENT_REPORT
◆ EVENT_GLOBAL_ATTACH
| #define EVENT_GLOBAL_ATTACH 128 |
◆ EVENT_GLOBAL_DETACH
| #define EVENT_GLOBAL_DETACH 129 |
◆ EVENT_GLOBAL_REPORT
| #define EVENT_GLOBAL_REPORT 130 |
◆ EVENT_GLOBAL_KBD
| #define EVENT_GLOBAL_KBD 131 |
◆ EVENT_GLOBAL_MOUSE
| #define EVENT_GLOBAL_MOUSE 132 |
◆ DWM_MAX_EVENT
| #define DWM_MAX_EVENT 256 |
◆ EVENT_LIB_INIT
| #define EVENT_LIB_INIT 256 |
◆ EVENT_LIB_DEINIT
| #define EVENT_LIB_DEINIT 257 |
◆ EVENT_LIB_REDRAW
| #define EVENT_LIB_REDRAW 258 |
◆ EVENT_LIB_ACTION
| #define EVENT_LIB_ACTION 259 |
◆ EVENT_LIB_QUIT
| #define EVENT_LIB_QUIT 260 |
◆ EVENT_LIB_FORCE_ACTION
| #define EVENT_LIB_FORCE_ACTION 261 |
◆ EVENT_LIB_INTERNAL_WAKE
| #define EVENT_LIB_INTERNAL_WAKE 512 |
◆ EVENT_USER_START
| #define EVENT_USER_START 1024 |
◆ EVENT_USER_END
| #define EVENT_USER_END 65535 |
◆ EVENT_MAX_DATA
| #define EVENT_MAX_DATA 128 |
Maximum size of event data.
Definition at line 263 of file event.h.
◆ event_type_t
Event type.
Used to identify the type of an event.
Events are divided into 4 categories:
Definition at line 72 of file event.h.
◆ event_bitmask_t
Event bitmask type.
Used to decide what events will be received by a display, only applicable to events sent by the DWM. By default events 0-127 inclusive are received (the first uint64_t is by default UINT64_MAX)
Definition at line 80 of file event.h.
◆ event_cursor_enter_t
Cursor Enter event.
Sent when the cursor enters a surface.
Definition at line 165 of file event.h.
◆ event_cursor_leave_t
Cursor Leave event.
Sent when the cursor leaves a surface.
Definition at line 172 of file event.h.
◆ event_global_report_t
Global Report event.
Sent when any surface's information changes.
Definition at line 210 of file event.h.
◆ event_global_kbd_t
Global Keyboard event.
Sent when a key is pressed or released regardless of which display is focused.
Definition at line 217 of file event.h.
◆ event_global_mouse_t
Global Mouse event.
Sent when the mouse is moved or a button is pressed or released regardless of which display is focused or where the cursor is.
Definition at line 225 of file event.h.
◆ report_flags_t
Report flags.
Used to specify what information changed in a report event.
| Enumerator |
|---|
| REPORT_NONE | |
| REPORT_RECT | |
| REPORT_IS_VISIBLE | |
| REPORT_IS_FOCUSED | |
| REPORT_NAME | |
Definition at line 33 of file event.h.
◆ action_type_t
Action type.
Used to specify the type of an action event.
| Enumerator |
|---|
| ACTION_NONE | |
| ACTION_RELEASE | |
| ACTION_PRESS | |
| ACTION_CANCEL | |
Definition at line 47 of file event.h.