[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/exwm 7032ee7 48/64: Re-enable complete refresh of keybo
From: |
Chris Feng |
Subject: |
[elpa] externals/exwm 7032ee7 48/64: Re-enable complete refresh of keyboard mapping |
Date: |
Thu, 17 Sep 2015 23:18:07 +0000 |
branch: externals/exwm
commit 7032ee70030273e9a32d3aa444b1247406d15552
Author: Chris Feng <address@hidden>
Commit: Chris Feng <address@hidden>
Re-enable complete refresh of keyboard mapping
Since the performance of `xcb:keysyms:update-keyboard-mapping` is no longer
an
problem, we allow every possible refresh of keyboard mapping again.
---
exwm-input.el | 17 +++++------------
1 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/exwm-input.el b/exwm-input.el
index ede635c..eb53b41 100644
--- a/exwm-input.el
+++ b/exwm-input.el
@@ -149,20 +149,13 @@ It's updated in several occasions, and only used by
`exwm-input--set-focus'.")
((= request xcb:Mapping:Modifier)
;; Modifier keys changed
(exwm--log "Update modifier mapping")
- (xcb:keysyms:update-modifier-mapping exwm--connection)
- )
+ (xcb:keysyms:update-modifier-mapping exwm--connection))
((= request xcb:Mapping:Keyboard)
;; Only update changed keys
- (with-slots (min-keycode max-keycode)
- (xcb:get-setup exwm--connection)
- ;; Since this operation is quite time-consuming, a complete refresh
- ;; is forbidden as it's unlikely to bring any useful information
- (unless (and (= min-keycode first-keycode)
- (= max-keycode (+ first-keycode count -1)))
- (exwm--log "Update keyboard mapping: %d ~ %d"
- first-keycode (+ first-keycode count))
- (xcb:keysyms:update-keyboard-mapping exwm--connection
- first-keycode count))))))))
+ (exwm--log "Update keyboard mapping: %d ~ %d"
+ first-keycode (+ first-keycode count))
+ (xcb:keysyms:update-keyboard-mapping exwm--connection
+ first-keycode count))))))
(defun exwm-input--on-ButtonPress (data synthetic)
"Handle ButtonPress event."
- [elpa] externals/exwm 5882015 40/64: Merge branch 'pipcet-move-window-fix', (continued)
- [elpa] externals/exwm 5882015 40/64: Merge branch 'pipcet-move-window-fix', Chris Feng, 2015/09/17
- [elpa] externals/exwm 04e4269 29/64: Improve input focus switch mechanism, Chris Feng, 2015/09/17
- [elpa] externals/exwm 7120291 38/64: Merge branch 'pipcet-robustness', Chris Feng, 2015/09/17
- [elpa] externals/exwm 5210e13 41/64: Only manage windows mapped as the direct children of root window (close #38), Chris Feng, 2015/09/17
- [elpa] externals/exwm 07e59e0 31/64: Fix multi-screen bugs, Chris Feng, 2015/09/17
- [elpa] externals/exwm d1806e9 37/64: Improve code robustness., Chris Feng, 2015/09/17
- [elpa] externals/exwm bb4ebde 46/64: Fix `exwm-workspace-rename-buffer`, Chris Feng, 2015/09/17
- [elpa] externals/exwm 94bdbfc 42/64: Avoid using the "no window manager" code in Emacs, Chris Feng, 2015/09/17
- [elpa] externals/exwm 874c383 43/64: Merge pull request #42 from pipcet/ewmh-fullscreen, Chris Feng, 2015/09/17
- [elpa] externals/exwm 5f9f673 47/64: Fix window size calculations, Chris Feng, 2015/09/17
- [elpa] externals/exwm 7032ee7 48/64: Re-enable complete refresh of keyboard mapping,
Chris Feng <=
- [elpa] externals/exwm 981293f 44/64: Replay KeyPress events instead of fake them in line-mode, Chris Feng, 2015/09/17
- [elpa] externals/exwm f7bec7a 51/64: Minor fix, Chris Feng, 2015/09/17
- [elpa] externals/exwm 5222dc1 49/64: Avoid deleting the frame created by Emacs client by accident, Chris Feng, 2015/09/17
- [elpa] externals/exwm f1d37b9 53/64: Ungrab pointer timely when resizing is aborted, Chris Feng, 2015/09/17
- [elpa] externals/exwm 76f4849 50/64: Drop intro to xelb-util, Chris Feng, 2015/09/17
- [elpa] externals/exwm 9eee94e 52/64: Merge pull request #52 from pipcet/minor-fix, Chris Feng, 2015/09/17
- [elpa] externals/exwm 637ac15 55/64: Code cleanups, Chris Feng, 2015/09/17
- [elpa] externals/exwm b50a6e6 45/64: Correct several EWMH properties, Chris Feng, 2015/09/17
- [elpa] externals/exwm 5373c1d 57/64: Add support for xcb:Atom:_NET_CLIENT_LIST_STACKING etc, Chris Feng, 2015/09/17
- [elpa] externals/exwm eafd031 56/64: Allow hide/show mode-line on floating frames, Chris Feng, 2015/09/17