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 // Note: Keep these numbered consecutively.
67 WLMAKER_ACTION_SWITCH_TO_VT1,
68 WLMAKER_ACTION_SWITCH_TO_VT2,
69 WLMAKER_ACTION_SWITCH_TO_VT3,
70 WLMAKER_ACTION_SWITCH_TO_VT4,
71 WLMAKER_ACTION_SWITCH_TO_VT5,
72 WLMAKER_ACTION_SWITCH_TO_VT6,
73 WLMAKER_ACTION_SWITCH_TO_VT7,
74 WLMAKER_ACTION_SWITCH_TO_VT8,
75 WLMAKER_ACTION_SWITCH_TO_VT9,
76 WLMAKER_ACTION_SWITCH_TO_VT10,
77 WLMAKER_ACTION_SWITCH_TO_VT11,
78 WLMAKER_ACTION_SWITCH_TO_VT12,
80
81extern const char *wlmaker_action_config_dict_key;
82
83extern const bspl_enum_desc_t wlmaker_action_desc[];
84
87
98 bspl_dict_t *keybindings_dict_ptr);
99
106
116 wlmaker_action_t action,
117 void *arg_ptr);
118
120extern const bs_test_case_t wlmaker_action_test_cases[];
121
122#ifdef __cplusplus
123} // extern "C"
124#endif // __cplusplus
125
126#endif /* __ACTION_H__ */
127/* == End of action.h ====================================================== */
wlmaker_action_t
Definition action.h:33
const bs_test_case_t wlmaker_action_test_cases[]
Definition action.c:567
void wlmaker_action_execute(wlmaker_server_t *server_ptr, wlmaker_action_t action, void *arg_ptr)
Definition action.c:194
void wlmaker_action_unbind_keys(wlmaker_action_handle_t *handle_ptr)
Definition action.c:177
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:156
Definition action.c:50
wlmaker_server_t * server_ptr
Definition action.c:54
Definition server.h:84