Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
switch one remaining XUnmapWindow to xcb. Change a few Xlib defines to XCB
[spectrwm.git]
/
spectrwm.c
diff --git
a/spectrwm.c
b/spectrwm.c
index
a9aa77c
..
cdaaebc
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-7193,8
+7193,8
@@
propertynotify(XEvent *e)
XMoveResizeWindow(display, win->id,
X(win), Y(win), WIDTH(win), HEIGHT(win));
#endif
XMoveResizeWindow(display, win->id,
X(win), Y(win), WIDTH(win), HEIGHT(win));
#endif
- case XA_WM_CLASS:
- case XA_WM_NAME:
+ case XCB_ATOM_WM_CLASS:
+ case XCB_ATOM_WM_NAME:
bar_update();
break;
default:
bar_update();
break;
default:
@@
-7231,7
+7231,7
@@
unmapnotify(XEvent *e)
SubstructureNotifyMask, &cne))
;
/* resend unmap because we ated it */
SubstructureNotifyMask, &cne))
;
/* resend unmap because we ated it */
- XUnmapWindow(display, e->xunmap.window);
+ xcb_unmap_window(conn, e->xunmap.window);
}
if (focus_mode == SWM_FOCUS_DEFAULT)
}
if (focus_mode == SWM_FOCUS_DEFAULT)