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