xwm: net active window

This commit is contained in:
Tony Crisci 2017-10-24 10:04:33 -04:00
parent 03bd34e826
commit 79978383ba
2 changed files with 49 additions and 18 deletions

View file

@ -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;