about summary refs log tree commit diff
path: root/exwm-core.el
diff options
context:
space:
mode:
Diffstat (limited to 'exwm-core.el')
-rw-r--r--exwm-core.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/exwm-core.el b/exwm-core.el
index 5c501e4e3fb7..3159519f12a3 100644
--- a/exwm-core.el
+++ b/exwm-core.el
@@ -97,6 +97,7 @@ FORMAT-STRING is a string specifying the message to output, as in
 
 (defun exwm--lock (&rest _args)
   "Lock (disable all events)."
+  (exwm--log)
   (xcb:+request exwm--connection
       (make-instance 'xcb:ChangeWindowAttributes
                      :window exwm--root
@@ -106,6 +107,7 @@ FORMAT-STRING is a string specifying the message to output, as in
 
 (defun exwm--unlock (&rest _args)
   "Unlock (enable all events)."
+  (exwm--log)
   (xcb:+request exwm--connection
       (make-instance 'xcb:ChangeWindowAttributes
                      :window exwm--root