aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2002-01-23 21:52:41 +0000
committerJason Rumney2002-01-23 21:52:41 +0000
commitd285988b2da86b096ff24c9a627eb5b1ad81804d (patch)
tree69ac3d4964abdbf41886e40fd9f19ae7cbf6e588 /src
parentc5802acf35515ef346f465d09eaf10d658be2c4b (diff)
downloademacs-d285988b2da86b096ff24c9a627eb5b1ad81804d.tar.gz
emacs-d285988b2da86b096ff24c9a627eb5b1ad81804d.zip
(syms_of_w32fns): Initialize w32_visible_system_caret_hwnd.
Diffstat (limited to 'src')
-rw-r--r--src/w32fns.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index 1ab46faac47..beb61281794 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -321,7 +321,7 @@ extern int w32_system_caret_x;
321extern int w32_system_caret_y; 321extern int w32_system_caret_y;
322extern int w32_use_visible_system_caret; 322extern int w32_use_visible_system_caret;
323 323
324HWND w32_visible_system_caret_hwnd; 324static HWND w32_visible_system_caret_hwnd;
325 325
326 326
327/* Error if we are not connected to MS-Windows. */ 327/* Error if we are not connected to MS-Windows. */
@@ -4879,9 +4879,9 @@ w32_wnd_proc (hwnd, msg, wParam, lParam)
4879 /* Relinquish the system caret. */ 4879 /* Relinquish the system caret. */
4880 if (w32_system_caret_hwnd) 4880 if (w32_system_caret_hwnd)
4881 { 4881 {
4882 DestroyCaret ();
4883 w32_system_caret_hwnd = NULL;
4884 w32_visible_system_caret_hwnd = NULL; 4882 w32_visible_system_caret_hwnd = NULL;
4883 w32_system_caret_hwnd = NULL;
4884 DestroyCaret ();
4885 } 4885 }
4886 case WM_MOVE: 4886 case WM_MOVE:
4887 case WM_SIZE: 4887 case WM_SIZE:
@@ -14467,6 +14467,8 @@ syms_of_w32fns ()
14467 track_mouse_event_fn = GetProcAddress (user32_lib, "TrackMouseEvent"); 14467 track_mouse_event_fn = GetProcAddress (user32_lib, "TrackMouseEvent");
14468 track_mouse_window = NULL; 14468 track_mouse_window = NULL;
14469 14469
14470 w32_visible_system_caret_hwnd = NULL;
14471
14470 /* The section below is built by the lisp expression at the top of the file, 14472 /* The section below is built by the lisp expression at the top of the file,
14471 just above where these variables are declared. */ 14473 just above where these variables are declared. */
14472 /*&&& init symbols here &&&*/ 14474 /*&&& init symbols here &&&*/