about summary refs log tree commit diff
path: root/exwm.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2015-07-18T13·16+0800
committerChris Feng <chris.w.feng@gmail.com>2015-07-18T13·16+0800
commit968d0b48825e9d4b7f0c918f33337f34c1db7487 (patch)
tree8d5541796ed6af7ea045e132e262888124e1fc4d /exwm.el
parentcf87bb55ed2b7070aceaea70783a578563734b7d (diff)
Various fixes for workspace
Fixes for full screen, move window, etc.
Diffstat (limited to 'exwm.el')
-rw-r--r--exwm.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/exwm.el b/exwm.el
index 49c4380405be..c6e005976f28 100644
--- a/exwm.el
+++ b/exwm.el
@@ -188,6 +188,10 @@
                                          xcb:EventMask:SubstructureRedirect)))
   (xcb:flush exwm--connection))
 
+(defun exwm--make-emacs-idle-for (seconds)
+  "Put Emacs in idle state for SECONDS seconds."
+  (with-timeout (seconds) (read-event)))
+
 (defun exwm-reset ()
   "Reset window to standard state: non-fullscreen, line-mode."
   (interactive)