layer_shell.h (609B)
1 #ifndef SWC_LAYER_SHELL_H 2 #define SWC_LAYER_SHELL_H 3 4 #include <stdbool.h> 5 6 struct wl_display; 7 struct wl_global; 8 9 struct screen; 10 11 struct wl_global * 12 layer_shell_create(struct wl_display *display); 13 14 /* usable area changed, lay out the surfaces that depend on it */ 15 void 16 layer_shell_usable_changed(struct screen *screen); 17 18 /* a press on view gives on-demand layer surfaces the keyboard */ 19 struct compositor_view; 20 void 21 layer_shell_pressed(struct compositor_view *view); 22 23 /* true while an exclusive surface has the keys: view gets them after it */ 24 bool 25 layer_shell_hold_keys(struct compositor_view *view); 26 27 #endif