mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-25 10:47:00 +00:00
(x-pointer-hand2, x-pointer-top-left-arrow): Add defvars.
This commit is contained in:
parent
01017d922c
commit
58eb29e58e
@ -109,6 +109,9 @@
|
||||
;; * The timer managers doesn't handle multiple different timeouts.
|
||||
;; * You can't specify continuous timouts (as opposed to just lidle timers.)
|
||||
|
||||
(defvar x-pointer-hand2)
|
||||
(defvar x-pointer-top-left-arrow)
|
||||
|
||||
;;; Code:
|
||||
(defvar dframe-xemacsp (string-match "XEmacs" emacs-version)
|
||||
"Non-nil if we are running in the XEmacs environment.")
|
||||
@ -151,7 +154,7 @@
|
||||
(if (fboundp 'frame-parameter)
|
||||
|
||||
(defalias 'dframe-frame-parameter 'frame-parameter)
|
||||
|
||||
|
||||
(defun dframe-frame-parameter (frame parameter)
|
||||
"Return FRAME's PARAMETER value."
|
||||
(cdr (assoc parameter (frame-parameters frame)))))
|
||||
@ -716,7 +719,7 @@ Optionally select that frame if necessary."
|
||||
(when (or (not (dframe-mouse-event-p last-input-event))
|
||||
dframe-activity-change-focus-flag)
|
||||
(dframe-select-attached-frame)
|
||||
;; KB: For what is this - raising the frame??
|
||||
;; KB: For what is this - raising the frame??
|
||||
(other-frame 0)))
|
||||
|
||||
|
||||
@ -903,7 +906,7 @@ Must be bound to event E."
|
||||
(windowp (posn-window (event-end event))) ; Sometimes
|
||||
; there is no window to jump into.
|
||||
))
|
||||
|
||||
|
||||
(funcall dframe-track-mouse-function event)))
|
||||
|
||||
(defun dframe-track-mouse-xemacs (event)
|
||||
|
Loading…
Reference in New Issue
Block a user