Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5d6a85e0
Commit
5d6a85e0
authored
Jan 19, 1998
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(mouse-drag-vertical-line): Properly determine which
side the scroll bar or vertical line is on.
parent
3fafe1d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
lisp/mouse.el
lisp/mouse.el
+10
-10
No files found.
lisp/mouse.el
View file @
5d6a85e0
...
...
@@ -300,16 +300,16 @@ This command must be bound to a mouse click."
(
interactive
"e"
)
;; Give temporary modes such as isearch a chance to turn off.
(
run-hooks
'mouse-leave-buffer-hook
)
(
let
((
done
nil
)
(
echo-keystrokes
0
)
(
start-event-frame
(
window-frame
(
car
(
car
(
cdr
start-event
)))))
(
start-event-window
(
car
(
car
(
cdr
start-event
))))
(
start-nwindows
(
count-windows
t
))
(
old-selected-window
(
selected-window
))
event
mouse
x
left
right
edges
wconfig
growth
(
which-side
(
or
(
cdr
(
assq
'vertical-scroll-bars
defaul
t-frame
-alist
))
'lef
t
)))
(
let
*
((
done
nil
)
(
echo-keystrokes
0
)
(
start-event-frame
(
window-frame
(
car
(
car
(
cdr
start-event
)))))
(
start-event-window
(
car
(
car
(
cdr
start-event
))))
(
start-nwindows
(
count-windows
t
))
(
old-selected-window
(
selected-window
))
event
mouse
x
left
right
edges
wconfig
growth
(
which-side
(
or
(
cdr
(
assq
'vertical-scroll-bars
(
frame-parameters
start-even
t-frame
)
))
'righ
t
)))
(
if
(
one-window-p
t
)
(
error
"Attempt to resize sole ordinary window"
))
(
if
(
eq
which-side
'left
)
...
...
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