[elpa] externals/exwm 4d5dd85 3/3: Add support for desktop and dock

2015-12-10 Thread Chris Feng
branch: externals/exwm
commit 4d5dd85dcc49c8ee9f0c496b439b420eaaeae5af
Author: Chris Feng 
Commit: Chris Feng 

Add support for desktop and dock

* exwm-manage.el (exwm-manage--manage-window): Add support for
_NET_WM_WINDOW_TYPE_DESKTOP and _NET_WM_WINDOW_TYPE_DOCK (they are not
reparented).
---
 exwm-manage.el |   18 +++---
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/exwm-manage.el b/exwm-manage.el
index 58908a2..5b562ed 100644
--- a/exwm-manage.el
+++ b/exwm-manage.el
@@ -111,13 +111,17 @@ corresponding buffer.")
 (xcb:+request exwm--connection
 (make-instance 'xcb:MapWindow :window id))
 (with-slots (x y width height) exwm--geometry
-  ;; Reparent to virtual root (essential)
-  (xcb:+request exwm--connection
-  (make-instance 'xcb:ReparentWindow
- :window id
- :parent (frame-parameter exwm-workspace--current
-  'exwm-window-id)
- :x x :y y))
+  ;; Reparent to virtual root
+  (unless (or (memq xcb:Atom:_NET_WM_WINDOW_TYPE_DESKTOP
+exwm-window-type)
+  (memq xcb:Atom:_NET_WM_WINDOW_TYPE_DOCK
+exwm-window-type))
+(xcb:+request exwm--connection
+(make-instance 'xcb:ReparentWindow
+   :window id
+   :parent (frame-parameter exwm-workspace--current
+'exwm-window-id)
+   :x x :y y)))
   ;; Center window of type _NET_WM_WINDOW_TYPE_SPLASH
   (when (memq xcb:Atom:_NET_WM_WINDOW_TYPE_SPLASH exwm-window-type)
 (xcb:+request exwm--connection



[elpa] externals/exwm updated (5c5c7cf -> 4d5dd85)

2015-12-10 Thread Chris Feng
ch11ng pushed a change to branch externals/exwm.

  from  5c5c7cf   Bump version to 0.1
   new  a295a15   Fix a typo
   new  3b19dad   Limit X host-based auth permissions.
   new  4d5dd85   Add support for desktop and dock


Summary of changes:
 exwm-manage.el |   20 
 xinitrc|2 +-
 2 files changed, 13 insertions(+), 9 deletions(-)



[elpa] externals/exwm 3b19dad 2/3: Limit X host-based auth permissions.

2015-12-10 Thread Chris Feng
branch: externals/exwm
commit 3b19dad16269dc18d65919fe7adea12dbedc6550
Author: W. Greenhouse 
Commit: W. Greenhouse 

Limit X host-based auth permissions.

We don't need more than the currently logged in user
to have access to the X session, so don't grant X host access
to other users.
---
 xinitrc |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xinitrc b/xinitrc
index 3de5b0b..873265f 100644
--- a/xinitrc
+++ b/xinitrc
@@ -1,5 +1,5 @@
 # Disable access control
-xhost +
+xhost +SI:localuser:$USER
 
 # Themes, etc
 gnome-settings-daemon &



[elpa] externals/exwm a295a15 1/3: Fix a typo

2015-12-10 Thread Chris Feng
branch: externals/exwm
commit a295a15ff646cbfa174ee1f78f9f8e27e1a7d587
Author: Chris Feng 
Commit: Chris Feng 

Fix a typo

* exwm-manage.el (exwm-manage--on-MapRequest): Correct a wrong variable
name.
---
 exwm-manage.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exwm-manage.el b/exwm-manage.el
index aa484d6..58908a2 100644
--- a/exwm-manage.el
+++ b/exwm-manage.el
@@ -369,7 +369,7 @@ Would you like to kill it? "
 (xcb:unmarshal obj data)
 (with-slots (parent window) obj
   (if (assoc window exwm--id-buffer-alist)
-  (exwm--log "#x%x is already managed" id)
+  (exwm--log "#x%x is already managed" window)
 (if (/= exwm--root parent)
 (progn (xcb:+request exwm--connection
(make-instance 'xcb:MapWindow :window window))