File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 49
49
(defconst xcb:icccm:-atoms
50
50
'(UTF8_STRING COMPOUND_TEXT TEXT C_STRING MANAGER
51
51
WM_PROTOCOLS WM_TAKE_FOCUS WM_DELETE_WINDOW
52
- WM_STATE WM_CHANGE_STATE)
52
+ WM_STATE WM_CHANGE_STATE WM_S0 )
53
53
" Atoms involved in ICCCM." )
54
54
55
55
(dolist (atom xcb:icccm:-atoms)
60
60
61
61
This method must be called before using any other method in this module."
62
62
(when (or force (not xcb:Atom:WM_PROTOCOLS))
63
- (xcb:icccm:intern-atoms obj xcb:icccm:-atoms force)))
63
+ (let ((atoms xcb:icccm:-atoms))
64
+ (dotimes (i (1- (x-display-screens )))
65
+ (push (intern (format " WM_S%d " (1+ i))) atoms))
66
+ (xcb:icccm:intern-atoms obj atoms force))))
64
67
65
68
(cl-defmethod xcb:icccm:intern-atoms ((obj xcb:connection) atoms
66
69
&optional force)
67
- " Intern the X atoms listed in the list AOTMS .
70
+ " Intern the X atoms listed in the list ATOMS .
68
71
69
72
The value of these atoms will be available in `xcb:Atom' namespace."
70
73
(dolist (atom atoms)
You can’t perform that action at this time.
0 commit comments