diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2016-08-12T11·18+0800 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2016-08-12T11·18+0800 |
commit | db5128c1b9f77ecefd62a7150ccbdef33dd870af (patch) | |
tree | 6a6078d9d3bdd28e4dab4c28398aa698c408a810 /exwm.el | |
parent | 8e3fc3602f649fca47a61a2be2072521a352a62a (diff) |
Fix CreateWindow attributes
; Also fix various compile warnings. * exwm-floating.el (exwm-floating--set-floating): * exwm-manage.el (exwm-manage--manage-window): * exwm-systemtray.el (exwm-systemtray--init): * exwm-workspace.el (exwm-workspace--add-frame-as-workspace) (exwm-workspace--init): * exwm.el (exwm--init-icccm-ewmh): Explicitly specify the class (InputOutput or InputOnly) and for an InputOutput X window the background pixmap when creating an X window.
Diffstat (limited to 'exwm.el')
-rw-r--r-- | exwm.el | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/exwm.el b/exwm.el index afec1526ce3d..0bc9701c0317 100644 --- a/exwm.el +++ b/exwm.el @@ -609,10 +609,17 @@ (let ((new-id (xcb:generate-id exwm--connection))) (xcb:+request exwm--connection (make-instance 'xcb:CreateWindow - :depth 0 :wid new-id :parent exwm--root - :x -1 :y -1 :width 1 :height 1 - :border-width 0 :class xcb:WindowClass:CopyFromParent - :visual 0 :value-mask xcb:CW:OverrideRedirect + :depth 0 + :wid new-id + :parent exwm--root + :x 0 + :y 0 + :width 1 + :height 1 + :border-width 0 + :class xcb:WindowClass:InputOnly + :visual 0 + :value-mask xcb:CW:OverrideRedirect :override-redirect 1)) (dolist (i (list exwm--root new-id)) ;; Set _NET_SUPPORTING_WM_CHECK |