aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-05-10 20:35:50 +0000
committerRichard M. Stallman1996-05-10 20:35:50 +0000
commit0b287713ac4a062da2c5ce19d51879a2e631698d (patch)
tree468a3e17435944c227405ba08a9d9f637235e7f7
parentb6823b27409c2fe7802a86ec100ef2094e93dfe0 (diff)
downloademacs-0b287713ac4a062da2c5ce19d51879a2e631698d.tar.gz
emacs-0b287713ac4a062da2c5ce19d51879a2e631698d.zip
(x_scroll_bar_move): Call my_show_window.
(x_scroll_bar_clear): Likewise.
-rw-r--r--src/w32term.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 3f214a53472..a067830a42a 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1945,6 +1945,7 @@ x_scroll_bar_move (bar, top, left, width, height)
1945 MoveWindow (w, left, top, width, height, TRUE); 1945 MoveWindow (w, left, top, width, height, TRUE);
1946 SetScrollRange (w, SB_CTL, 0, height, FALSE); 1946 SetScrollRange (w, SB_CTL, 0, height, FALSE);
1947 InvalidateRect (w, NULL, FALSE); 1947 InvalidateRect (w, NULL, FALSE);
1948 my_show_window (w, SW_NORMAL);
1948 1949
1949 XSETINT (bar->left, left); 1950 XSETINT (bar->left, left);
1950 XSETINT (bar->top, top); 1951 XSETINT (bar->top, top);
@@ -2273,6 +2274,7 @@ x_scroll_bar_clear (f)
2273 HDC hdc = GetDC (window); 2274 HDC hdc = GetDC (window);
2274 RECT rect; 2275 RECT rect;
2275 2276
2277 my_show_window (window, SW_HIDE);
2276 GetClientRect (window, &rect); 2278 GetClientRect (window, &rect);
2277 select_palette (f, hdc); 2279 select_palette (f, hdc);
2278 win32_clear_rect (f, hdc, &rect); 2280 win32_clear_rect (f, hdc, &rect);