Merge branch 'drop-client-p' into externals/exwm
This commit is contained in:
commit
1c706daeb0
5 changed files with 143 additions and 150 deletions
|
|
@ -59,6 +59,9 @@ Here are some predefined candidates:
|
|||
|
||||
(defvar exwm--connection nil "X connection.")
|
||||
|
||||
(defvar exwm--terminal nil
|
||||
"Terminal corresponding to `exwm--connection'.")
|
||||
|
||||
(defvar exwm--wmsn-window nil
|
||||
"An X window owning the WM_S0 selection.")
|
||||
|
||||
|
|
@ -177,6 +180,11 @@ least SECS seconds later."
|
|||
,function
|
||||
,@args))
|
||||
|
||||
(defsubst exwm--terminal-p (&optional frame)
|
||||
"Return t when FRAME's terminal is EXWM's terminal.
|
||||
If FRAME is null, use selected frame."
|
||||
(eq exwm--terminal (frame-terminal frame)))
|
||||
|
||||
(defun exwm--get-client-event-mask ()
|
||||
"Return event mask set on all managed windows."
|
||||
(logior xcb:EventMask:StructureNotify
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue