[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r117715: Fix horizontal scroll bar dragging in R2L p
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] trunk r117715: Fix horizontal scroll bar dragging in R2L paragraphs. |
Date: |
Tue, 19 Aug 2014 15:08:45 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117715
revision-id: address@hidden
parent: address@hidden
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Tue 2014-08-19 18:08:02 +0300
message:
Fix horizontal scroll bar dragging in R2L paragraphs.
src/w32term.c (w32_horizontal_scroll_bar_handle_click): Fix the
second coordinate ('y') reported for dragging the horizontal
scroll bar thumb.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/w32term.c w32term.c-20091113204419-o5vbwnq5f7feedwu-950
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2014-08-19 00:51:33 +0000
+++ b/src/ChangeLog 2014-08-19 15:08:02 +0000
@@ -1,3 +1,9 @@
+2014-08-19 Eli Zaretskii <address@hidden>
+
+ * w32term.c (w32_horizontal_scroll_bar_handle_click): Fix the
+ second coordinate ('y') reported for dragging the horizontal
+ scroll bar thumb.
+
2014-08-19 YAMAMOTO Mitsuharu <address@hidden>
* xdisp.c (erase_phys_cursor): Fix confusion between window-relative
=== modified file 'src/w32term.c'
--- a/src/w32term.c 2014-08-16 15:47:38 +0000
+++ b/src/w32term.c 2014-08-19 15:08:02 +0000
@@ -4310,7 +4310,10 @@
case SB_THUMBTRACK:
case SB_THUMBPOSITION:
if (HORIZONTAL_SCROLL_BAR_LEFT_RANGE (f, bar->width) <= 0xffff)
- x = HIWORD (msg->msg.wParam);
+ {
+ x = HIWORD (msg->msg.wParam);
+ y = si.nMax - x - si.nPage;
+ }
bar->dragging = 1;
emacs_event->part = scroll_bar_horizontal_handle;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r117715: Fix horizontal scroll bar dragging in R2L paragraphs.,
Eli Zaretskii <=