[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/scroll-on-drag 157637ba6b 26/35: Remove cursor setting cod
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/scroll-on-drag 157637ba6b 26/35: Remove cursor setting code (resolving #1) |
Date: |
Thu, 7 Jul 2022 12:02:52 -0400 (EDT) |
branch: elpa/scroll-on-drag
commit 157637ba6b6cbe7a21c57f9eefb8a94fffa0085e
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Remove cursor setting code (resolving #1)
---
scroll-on-drag.el | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/scroll-on-drag.el b/scroll-on-drag.el
index cd78fc5fcd..92ced47b88 100644
--- a/scroll-on-drag.el
+++ b/scroll-on-drag.el
@@ -197,9 +197,6 @@ Returns true when scrolling took place, otherwise nil."
(restore-window-start (window-start))
(restore-point (point))
- ;; X11 cursor.
- (restore-x-pointer-shape (and (boundp 'x-pointer-shape) x-pointer-shape))
-
;; Restore indent (lost when scrolling).
(restore-column (current-column))
@@ -347,12 +344,6 @@ Returns true when scrolling took place, otherwise nil."
(run-hooks 'scroll-on-drag-redisplay-hook)
(redisplay)))))))
- ;; Set arrow cursor (avoids annoying flicker on scroll).
- (when (display-graphic-p)
- (setq x-pointer-shape x-pointer-top-left-arrow)
- (set-mouse-color nil))
-
-
;; ---------------
;; Main Event Loop
@@ -409,11 +400,6 @@ Returns true when scrolling took place, otherwise nil."
(when (and has-scrolled (> restore-column 0))
(move-to-column restore-column))
- ;; Restore pointer.
- (when (boundp 'x-pointer-shape)
- (setq x-pointer-shape restore-x-pointer-shape)
- (set-mouse-color nil))
-
(when has-scrolled-real
(let ((inhibit-redisplay nil))
(run-hooks 'scroll-on-drag-post-hook)
- [nongnu] elpa/scroll-on-drag 2d79a6d9c2 18/35: Cleanup: minor syntax changes, (continued)
- [nongnu] elpa/scroll-on-drag 2d79a6d9c2 18/35: Cleanup: minor syntax changes, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-drag 97741be699 32/35: Remove override for timer-idle-list, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-drag f9379c56df 03/35: Call redisplay explicitly, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-drag 56ab51a329 07/35: Use zerop instead of comparing with zero, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-drag 882dc94bb8 12/35: Cleanup: remove unused variables, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-drag cacadcd9bd 20/35: Cleanup: add sections, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-drag 271b4aa6b3 11/35: Add redisplay hook, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-drag 6d62a239a9 28/35: Cleanup: use defgroup, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-drag 6db1380826 25/35: Cleanup: formatting, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-drag ba2c1a598e 17/35: Fix for idle timers running during scroll, ELPA Syncer, 2022/07/07
- [nongnu] elpa/scroll-on-drag 157637ba6b 26/35: Remove cursor setting code (resolving #1),
ELPA Syncer <=