diff options
Diffstat (limited to 'include/wlr/xwayland')
-rw-r--r-- | include/wlr/xwayland/xwayland.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/wlr/xwayland/xwayland.h b/include/wlr/xwayland/xwayland.h index 75e9cdac..cb9e35f0 100644 --- a/include/wlr/xwayland/xwayland.h +++ b/include/wlr/xwayland/xwayland.h @@ -16,6 +16,7 @@ #include <xcb/xcb_icccm.h> #include <wlr/util/addon.h> +struct wlr_box; struct wlr_xwm; struct wlr_data_source; struct wlr_drag; @@ -285,4 +286,14 @@ bool wlr_xwayland_or_surface_wants_focus( enum wlr_xwayland_icccm_input_model wlr_xwayland_icccm_input_model( const struct wlr_xwayland_surface *xsurface); +/** + * Sets the _NET_WORKAREA root window property. The compositor should set + * one workarea per virtual desktop. This indicates the usable geometry + * (relative to the virtual desktop viewport) that is not covered by + * panels, docks, etc. Unfortunately, it is not possible to specify + * per-output workareas. + */ +void wlr_xwayland_set_workareas(struct wlr_xwayland *wlr_xwayland, + const struct wlr_box *workareas, size_t num_workareas); + #endif |