wlmaker
Loading...
Searching...
No Matches
task_list.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __TASK_LIST_H__
21#define __TASK_LIST_H__
22
25
26#include "server.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif // __cplusplus
31
32// TODO(kaeser@gubbe.ch): Move this to wlmaker_keyboard.
33// Taskswitch:
34// modifer = ALT, and PRESSED is TAB enables it, and will switch focus
35// to the next-open View.
36//
37// - TAB will switch focus one further
38// - Shift-TAB will switch focus one back
39// (- Cursor left/right will also switch focus further/one back)
40// - Esc will restore focus of the view that has it before switcher.
41//
42// will remain active until:
43// - ALT is released
44// - any key outside the handled keys are pressed
45// - mouse is presset outside the task switch window
46// - workspace is switched.
47//
48// Means: It needs a means of...
49// - grabbing keyboard focus and holding it until release.
50// - grabbing mouse focus and holding it until release.
51// - not losing focus and top-of-stack until release.
52// => Should be atop each layer -> have it's own layer? or OVERLAY ?
53// (likely go with overlay)
54//
55// => means, this is like a "layer view" except the extra focus constraints.
56
72 const wlmaker_config_style_t *style_ptr);
73
80 wlmaker_task_list_t *task_list_ptr);
81
82#ifdef __cplusplus
83} // extern "C"
84#endif // __cplusplus
85
86#endif /* __TASK_LIST_H__ */
87/* == End of task_list.h =================================================== */
Definition server.h:89
Definition task_list.c:40
wlmaker_server_t * server_ptr
Definition task_list.c:48
Definition config.h:73
void wlmaker_task_list_destroy(wlmaker_task_list_t *task_list_ptr)
Definition task_list.c:172
wlmaker_task_list_t * wlmaker_task_list_create(wlmaker_server_t *server_ptr, const wlmaker_config_style_t *style_ptr)
Definition task_list.c:120