aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUli Schlachter <psychon@users.noreply.github.com>2021-08-28 01:01:38 +0200
committerGitHub <noreply@github.com>2021-08-28 01:01:38 +0200
commit7b6e86482343eeb15b5acf0c558e750b19364079 (patch)
treeabf9a4aeee04812c35f61c03e66b7a2763dbd76a /include
parent36ba1043d50d815b65b7f22619611a420726e8e3 (diff)
downloadi3-7b6e86482343eeb15b5acf0c558e750b19364079.tar.gz
i3-7b6e86482343eeb15b5acf0c558e750b19364079.zip
Implement support for the WM_Sn selection (#4374)
Closes #536 When the WM_Sn selection is already owned at startup, this now either errors out or waits for the old selection owner to exit.
Diffstat (limited to 'include')
-rw-r--r--include/i3-atoms_rest.xmacro.h3
-rw-r--r--include/i3.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/include/i3-atoms_rest.xmacro.h b/include/i3-atoms_rest.xmacro.h
index ef50d81b..fa915fd6 100644
--- a/include/i3-atoms_rest.xmacro.h
+++ b/include/i3-atoms_rest.xmacro.h
@@ -21,4 +21,5 @@ xmacro(I3_FLOATING_WINDOW) \
xmacro(_NET_REQUEST_FRAME_EXTENTS) \
xmacro(_NET_FRAME_EXTENTS) \
xmacro(_MOTIF_WM_HINTS) \
-xmacro(WM_CHANGE_STATE)
+xmacro(WM_CHANGE_STATE) \
+xmacro(MANAGER)
diff --git a/include/i3.h b/include/i3.h
index 2c550fa9..15ca1d46 100644
--- a/include/i3.h
+++ b/include/i3.h
@@ -39,6 +39,7 @@ extern bool debug_build;
/** The number of file descriptors passed via socket activation. */
extern int listen_fds;
extern int conn_screen;
+extern xcb_atom_t wm_sn;
/**
* The EWMH support window that is used to indicate that an EWMH-compliant
* window manager is present. This window is created when i3 starts and