[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/xelb 11005f2 10/42: Fix ch11ng/exwm#16 (cursor size not
From: |
Chris Feng |
Subject: |
[elpa] externals/xelb 11005f2 10/42: Fix ch11ng/exwm#16 (cursor size not matching) |
Date: |
Thu, 17 Sep 2015 23:16:40 +0000 |
branch: externals/xelb
commit 11005f2e0fa3ccc04c546ab99c67e64f73287820
Author: Chris Feng <address@hidden>
Commit: Chris Feng <address@hidden>
Fix ch11ng/exwm#16 (cursor size not matching)
---
xcb-cursor.el | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/xcb-cursor.el b/xcb-cursor.el
index beb6964..5579fff 100644
--- a/xcb-cursor.el
+++ b/xcb-cursor.el
@@ -251,9 +251,8 @@
(with-temp-buffer
(set-buffer-multibyte nil)
(insert-file-contents path) (buffer-string))))
- (best-size 0)
xcb:lsb ;override global byte order
- chunks
+ best-size chunks
magic file-header file-header-toc chunk-header chunk)
;; Determine byte order
(setq magic (substring data 0 4))
@@ -281,8 +280,9 @@
(when (= target subtype)
(setq best-size target)
(throw 'break nil))
- (when (> (abs (- target best-size))
- (abs (- target subtype)))
+ (when (or (not best-size)
+ (> (abs (- target best-size))
+ (abs (- target subtype))))
(setq best-size subtype)))))))
;; Collect chunks fitting this size
(setq chunk-header (make-instance 'xcb:cursor:-file-chunk-header))
- [elpa] branch externals/xelb created (now f5a7ca9), Chris Feng, 2015/09/17
- [elpa] externals/xelb 2d78724 03/42: Fix shift bit for converting from keysym to Emacs event, Chris Feng, 2015/09/17
- [elpa] externals/xelb e665cb3 05/42: Update xcb-randr.el, Chris Feng, 2015/09/17
- [elpa] externals/xelb 87ebff4 06/42: Fix for 32bit platform, Chris Feng, 2015/09/17
- [elpa] externals/xelb 1916894 07/42: Fix integer overflow on 32-bit platform, Chris Feng, 2015/09/17
- [elpa] externals/xelb c042d3f 08/42: Provide more verbose message when connection failed or auth required, Chris Feng, 2015/09/17
- [elpa] externals/xelb 6a7bccc 09/42: Disable concurrency of events, Chris Feng, 2015/09/17
- [elpa] externals/xelb 11005f2 10/42: Fix ch11ng/exwm#16 (cursor size not matching),
Chris Feng <=
- [elpa] externals/xelb cd67b51 11/42: Set the `display` slot of `xcb:connection` in `xcb:connect-to-socket`, Chris Feng, 2015/09/17
- [elpa] externals/xelb 23cb30b 12/42: Fix an emacsclient bug, Chris Feng, 2015/09/17
- [elpa] externals/xelb 946d3ed 14/42: Fix keyboard mapping update problem, Chris Feng, 2015/09/17
- [elpa] externals/xelb 76246b4 13/42: Check `length` slot in `xcb:icccm:-GetProperty~reply`, Chris Feng, 2015/09/17
- [elpa] externals/xelb bf39d9b 15/42: allow key mappings without mode switch or NumLock keys, Chris Feng, 2015/09/17
- [elpa] externals/xelb 518b17a 16/42: Merge branch 'pipcet-no-num-lock', Chris Feng, 2015/09/17
- [elpa] externals/xelb 4e42bf2 04/42: Cleanup code, Chris Feng, 2015/09/17
- [elpa] externals/xelb 1cea22d 20/42: Provide a way to disable auto-padding, Chris Feng, 2015/09/17
- [elpa] externals/xelb 247d6d2 17/42: Make the manipulation of message cache more robust, Chris Feng, 2015/09/17
- [elpa] externals/xelb 677623a 19/42: Disable auto-padding for xcb-xim, Chris Feng, 2015/09/17