aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwm.h
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-10-24 10:04:33 -0400
committerTony Crisci <tony@dubstepdish.com>2017-10-24 10:04:33 -0400
commit79978383ba8fc894117947c80fc9d8cd78782fee (patch)
tree3947a4f28bde3c64285d3d5d1b99feb9bbf185ab /xwayland/xwm.h
parent03bd34e826f01e35b4e23d9555d45924f12dadfa (diff)
xwm: net active window
Diffstat (limited to 'xwayland/xwm.h')
-rw-r--r--xwayland/xwm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xwayland/xwm.h b/xwayland/xwm.h
index bc43134e..d8857eb8 100644
--- a/xwayland/xwm.h
+++ b/xwayland/xwm.h
@@ -20,6 +20,8 @@ enum atom_name {
NET_WM_STATE,
NET_WM_WINDOW_TYPE,
WM_TAKE_FOCUS,
+ WINDOW,
+ _NET_ACTIVE_WINDOW,
ATOM_LAST,
};
@@ -41,6 +43,8 @@ struct wlr_xwm {
xcb_screen_t *screen;
xcb_window_t window;
+ struct wlr_xwayland_surface *focus_surface;
+
struct wl_list new_surfaces;
struct wl_list unpaired_surfaces;