aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32fns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index b08ac3f86f2..ea683d08fef 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -3898,6 +3898,7 @@ w32_wnd_proc (hwnd, msg, wParam, lParam)
3898 /* Remember we did a SetCapture on the initial mouse down event, 3898 /* Remember we did a SetCapture on the initial mouse down event,
3899 so for safety, we make sure the capture is cancelled now. */ 3899 so for safety, we make sure the capture is cancelled now. */
3900 ReleaseCapture (); 3900 ReleaseCapture ();
3901 button_state = 0;
3901 3902
3902 /* Use menubar_active to indicate that WM_INITMENU is from 3903 /* Use menubar_active to indicate that WM_INITMENU is from
3903 TrackPopupMenu below, and should be ignored. */ 3904 TrackPopupMenu below, and should be ignored. */
@@ -3921,7 +3922,6 @@ w32_wnd_proc (hwnd, msg, wParam, lParam)
3921 { 3922 {
3922 retval = 0; 3923 retval = 0;
3923 } 3924 }
3924 button_state = 0;
3925 } 3925 }
3926 else 3926 else
3927 { 3927 {