diff options
author | John Lindgren <john@jlindgren.net> | 2023-10-24 10:33:50 -0400 |
---|---|---|
committer | John Lindgren <john@jlindgren.net> | 2023-10-26 15:05:08 -0400 |
commit | af165acb427dd166f2768cf806d28f106bc61fd7 (patch) | |
tree | 32cb327e5791015ae9e5d5e19e8edce5f59713f7 /include/xwayland/xwm.h | |
parent | 2410710a0f82b3e59b584d9c4f75b5f7758da6e4 (diff) |
xwayland: add wlr_xwayland_set_workareas()
This function allows compositors to set the _NET_WORKAREA property on
the root window. XWayland clients use _NET_WORKAREA to determine how
much of the screen is not covered by panels/docks. The property is used
for example by Qt to determine areas of the screen that popup menus
should not overlap (see QScreen::availableVirtualGeometry).
Diffstat (limited to 'include/xwayland/xwm.h')
-rw-r--r-- | include/xwayland/xwm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h index 7db5d6cb..da3515da 100644 --- a/include/xwayland/xwm.h +++ b/include/xwayland/xwm.h @@ -88,6 +88,7 @@ enum atom_name { DND_ACTION_PRIVATE, NET_CLIENT_LIST, NET_CLIENT_LIST_STACKING, + NET_WORKAREA, ATOM_LAST // keep last }; |