wlmaker
Loading...
Searching...
No Matches
action.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __WLMAKER_ACTION_H__
21#define __WLMAKER_ACTION_H__
22
23#include <libbase/libbase.h>
24#include <libbase/plist.h>
25
26#include "server.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif // __cplusplus
31
33typedef enum {
34 WLMAKER_ACTION_NONE,
35
36 WLMAKER_ACTION_QUIT,
37 WLMAKER_ACTION_LOCK_SCREEN,
38 WLMAKER_ACTION_LOCK_INHIBIT_BEGIN,
39 WLMAKER_ACTION_LOCK_INHIBIT_END,
40 WLMAKER_ACTION_LAUNCH_TERMINAL,
41 WLMAKER_ACTION_SHELL_EXECUTE,
42 WLMAKER_ACTION_EXECUTE,
43
44 WLMAKER_ACTION_WORKSPACE_TO_PREVIOUS,
45 WLMAKER_ACTION_WORKSPACE_TO_NEXT,
46
47 WLMAKER_ACTION_TASK_TO_PREVIOUS,
48 WLMAKER_ACTION_TASK_TO_NEXT,
49
50 WLMAKER_ACTION_WINDOW_RAISE,
51 WLMAKER_ACTION_WINDOW_LOWER,
52 WLMAKER_ACTION_WINDOW_TOGGLE_FULLSCREEN,
53 WLMAKER_ACTION_WINDOW_TOGGLE_MAXIMIZED,
54
55 WLMAKER_ACTION_WINDOW_MAXIMIZE,
56 WLMAKER_ACTION_WINDOW_UNMAXIMIZE,
57 WLMAKER_ACTION_WINDOW_FULLSCREEN,
58 WLMAKER_ACTION_WINDOW_SHADE,
59 WLMAKER_ACTION_WINDOW_UNSHADE,
60 WLMAKER_ACTION_WINDOW_CLOSE,
61 WLMAKER_ACTION_WINDOW_TO_NEXT_WORKSPACE,
62 WLMAKER_ACTION_WINDOW_TO_PREVIOUS_WORKSPACE,
63
64 WLMAKER_ACTION_ROOT_MENU,
65
66 WLMAKER_ACTION_OUTPUT_MAGNIFY,
67 WLMAKER_ACTION_OUTPUT_REDUCE,
68
69 // Note: Keep these numbered consecutively.
70 WLMAKER_ACTION_SWITCH_TO_VT1,
71 WLMAKER_ACTION_SWITCH_TO_VT2,
72 WLMAKER_ACTION_SWITCH_TO_VT3,
73 WLMAKER_ACTION_SWITCH_TO_VT4,
74 WLMAKER_ACTION_SWITCH_TO_VT5,
75 WLMAKER_ACTION_SWITCH_TO_VT6,
76 WLMAKER_ACTION_SWITCH_TO_VT7,
77 WLMAKER_ACTION_SWITCH_TO_VT8,
78 WLMAKER_ACTION_SWITCH_TO_VT9,
79 WLMAKER_ACTION_SWITCH_TO_VT10,
80 WLMAKER_ACTION_SWITCH_TO_VT11,
81 WLMAKER_ACTION_SWITCH_TO_VT12,
83
84extern const char *wlmaker_action_config_dict_key;
85
86extern const bspl_enum_desc_t wlmaker_action_desc[];
87
90
101 bspl_dict_t *keybindings_dict_ptr);
102
109
119 wlmaker_action_t action,
120 void *arg_ptr);
121
123extern const bs_test_case_t wlmaker_action_test_cases[];
124
125#ifdef __cplusplus
126} // extern "C"
127#endif // __cplusplus
128
129#endif /* __ACTION_H__ */
130/* == End of action.h ====================================================== */
wlmaker_action_t
Definition action.h:33
const bs_test_case_t wlmaker_action_test_cases[]
Definition action.c:577
void wlmaker_action_execute(wlmaker_server_t *server_ptr, wlmaker_action_t action, void *arg_ptr)
Definition action.c:197
void wlmaker_action_unbind_keys(wlmaker_action_handle_t *handle_ptr)
Definition action.c:180
const char * wlmaker_action_config_dict_key
Definition action.c:87
const bspl_enum_desc_t wlmaker_action_desc[]
Definition action.c:103
wlmaker_action_handle_t * wlmaker_action_bind_keys(wlmaker_server_t *server_ptr, bspl_dict_t *keybindings_dict_ptr)
Definition action.c:159
Definition action.c:50
wlmaker_server_t * server_ptr
Definition action.c:54
Definition server.h:85