Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
53ebff1f
Commit
53ebff1f
authored
Oct 22, 2011
by
Martin Rudalics
Browse files
In mouse-drag-line correctly use window-in-direction.
parent
d195726a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
lisp/ChangeLog
lisp/ChangeLog
+1
-1
lisp/mouse.el
lisp/mouse.el
+4
-3
No files found.
lisp/ChangeLog
View file @
53ebff1f
...
...
@@ -12,7 +12,7 @@
2011-10-22 Martin Rudalics <rudalics@gmx.at>
* mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
last fix.
last fix.
Use window-in-direction correctly.
2011-10-21 Chong Yidong <cyd@gnu.org>
...
...
lisp/mouse.el
View file @
53ebff1f
...
...
@@ -419,8 +419,9 @@ must be one of the symbols header, mode, or vertical."
(
cond
((
eq
line
'header
)
;; Check whether header-line can be dragged at all.
(
when
(
window-at-side-p
window
'top
)
(
setq
done
t
)))
(
if
(
window-at-side-p
window
'top
)
(
setq
done
t
)
(
setq
window
(
window-in-direction
'above
window
t
))))
((
eq
line
'mode
)
;; Check whether mode-line can be dragged at all.
(
when
(
and
(
window-at-side-p
window
'bottom
)
...
...
@@ -436,7 +437,7 @@ must be one of the symbols header, mode, or vertical."
window
;; If the scroll bar is on the start-event window's left,
;; adjust the window on the left of it.
(
window-in-direction
'left
window
)))))
(
window-in-direction
'left
window
t
)))))
;; Start tracking.
(
track-mouse
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment