-
Notifications
You must be signed in to change notification settings - Fork 21
Exwm replace support #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The |
xcb.el
Outdated
@@ -39,6 +39,7 @@ | |||
;; - `xcb:+request-unchecked+reply' | |||
;; + Event handling | |||
;; - `xcb:+event' | |||
;; - `xcb:+remove-event' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use xcb:remove-event
.
xcb.el
Outdated
(cl-defmethod xcb:+remove-event ((obj xcb:connection) event listener) | ||
"remove EVENT LISTENER | ||
|
||
Note that event listeners attached this way are shared with the super- and sub- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This docstring is no longer relevant.
xcb.el
Outdated
@@ -512,6 +524,10 @@ classes of EVENT (since they have the same event number)." | |||
(plist-put (slot-value obj 'extension-plist) namespace sequence)) | |||
(xcb:flush obj)))) | |||
|
|||
(cl-defmethod xcb:got-extension-data-p ((obj xcb:connection) namespace) | |||
"Return t when the connection OBJ has extension data for NAMESPACE." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to convert the result to t
.
* xcb-icccm.el (xcb:icccm:-atom, xcb:icccm:init): Register WM_Sn atoms for each screen.
33d529e
to
6189e6b
Compare
Thanks for the review. Addressed the issues you noted. Additionally, renamed |
Sorry but now that there is no use for PS. I have no idea but some of my original reviews seem get lost. This implementation of |
6189e6b
to
2c50ed0
Compare
I didn't receive your comments w.r.t. XGE and XKB; you were right about it. |
The byte-compiler doesn't like the lack of a :service parameter. It works just fine, but we might as well make it happy. It looks like upstream Emacs source code uses `(... :family 'local :service socket)` as well. * xcb.el (xcb:connect-to-socket): Use :service & :family instead of :remote to avoid the byte-compiler warning.
XELB changes needed for
replace-support
EXWM branch.Names are not great, please suggest better if possible. It might be useful to rename or alias
xcb:+event
toxcb:+add-event
for similarity withadd-hook
andremove-hook
.