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
43 WLMAKER_ACTION_WORKSPACE_TO_PREVIOUS,
44 WLMAKER_ACTION_WORKSPACE_TO_NEXT,
45
46 WLMAKER_ACTION_TASK_TO_PREVIOUS,
47 WLMAKER_ACTION_TASK_TO_NEXT,
48
49 WLMAKER_ACTION_WINDOW_RAISE,
50 WLMAKER_ACTION_WINDOW_LOWER,
51 WLMAKER_ACTION_WINDOW_TOGGLE_FULLSCREEN,
52 WLMAKER_ACTION_WINDOW_TOGGLE_MAXIMIZED,
53
54 WLMAKER_ACTION_WINDOW_MAXIMIZE,
55 WLMAKER_ACTION_WINDOW_UNMAXIMIZE,
56 WLMAKER_ACTION_WINDOW_FULLSCREEN,
57 WLMAKER_ACTION_WINDOW_SHADE,
58 WLMAKER_ACTION_WINDOW_UNSHADE,
59 WLMAKER_ACTION_WINDOW_CLOSE,
60 WLMAKER_ACTION_WINDOW_TO_NEXT_WORKSPACE,
61 WLMAKER_ACTION_WINDOW_TO_PREVIOUS_WORKSPACE,
62
63 WLMAKER_ACTION_ROOT_MENU,
64
65 // Note: Keep these numbered consecutively.
66 WLMAKER_ACTION_SWITCH_TO_VT1,
67 WLMAKER_ACTION_SWITCH_TO_VT2,
68 WLMAKER_ACTION_SWITCH_TO_VT3,
69 WLMAKER_ACTION_SWITCH_TO_VT4,
70 WLMAKER_ACTION_SWITCH_TO_VT5,
71 WLMAKER_ACTION_SWITCH_TO_VT6,
72 WLMAKER_ACTION_SWITCH_TO_VT7,
73 WLMAKER_ACTION_SWITCH_TO_VT8,
74 WLMAKER_ACTION_SWITCH_TO_VT9,
75 WLMAKER_ACTION_SWITCH_TO_VT10,
76 WLMAKER_ACTION_SWITCH_TO_VT11,
77 WLMAKER_ACTION_SWITCH_TO_VT12,
79
80extern const char *wlmaker_action_config_dict_key;
81
82extern const bspl_enum_desc_t wlmaker_action_desc[];
83
86
97 bspl_dict_t *keybindings_dict_ptr);
98
105
115 wlmaker_action_t action,
116 void *arg_ptr);
117
119extern const bs_test_case_t wlmaker_action_test_cases[];
120
121#ifdef __cplusplus
122} // extern "C"
123#endif // __cplusplus
124
125#endif /* __ACTION_H__ */
126/* == End of action.h ====================================================== */
wlmaker_action_t
Definition action.h:33
const bs_test_case_t wlmaker_action_test_cases[]
Definition action.c:554
void wlmaker_action_execute(wlmaker_server_t *server_ptr, wlmaker_action_t action, void *arg_ptr)
Definition action.c:188
void wlmaker_action_unbind_keys(wlmaker_action_handle_t *handle_ptr)
Definition action.c:171
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:150
Definition action.c:50
wlmaker_server_t * server_ptr
Definition action.c:54
Definition server.h:84