added the wm_change_state atom
Browse files
+2 −0 src/x11/atoms.zig
| @@ -7,6 +7,7 @@ pub const Atoms = struct { | |||
| 7 | wm_delete: xlib.Atom, | 7 | wm_delete: xlib.Atom, |
| 8 | wm_state: xlib.Atom, | 8 | wm_state: xlib.Atom, |
| 9 | wm_take_focus: xlib.Atom, | 9 | wm_take_focus: xlib.Atom, |
| 10 | + wm_change_state: xlib.Atom, | ||
| 10 | 11 | ||
| 11 | // EWHM atoms | 12 | // EWHM atoms |
| 12 | net_supported: xlib.Atom, | 13 | net_supported: xlib.Atom, |
| @@ -39,6 +40,7 @@ pub const Atoms = struct { | |||
| 39 | .wm_delete = intern(display, "WM_DELETE_WINDOW"), | 40 | .wm_delete = intern(display, "WM_DELETE_WINDOW"), |
| 40 | .wm_state = intern(display, "WM_STATE"), | 41 | .wm_state = intern(display, "WM_STATE"), |
| 41 | .wm_take_focus = intern(display, "WM_TAKE_FOCUS"), | 42 | .wm_take_focus = intern(display, "WM_TAKE_FOCUS"), |
| 43 | + .wm_change_state = intern(display, "WM_CHANGE_STATE"), | ||
| 42 | 44 | ||
| 43 | .net_supported = intern(display, "_NET_SUPPORTED"), | 45 | .net_supported = intern(display, "_NET_SUPPORTED"), |
| 44 | .net_wm_name = intern(display, "_NET_WM_NAME"), | 46 | .net_wm_name = intern(display, "_NET_WM_NAME"), |