diff src/event-msw.c @ 5925:08cfc8f77fb6 cygwin

make space for long ptr, and store as such, for frame in WINDOW data, add a bit more debugging to debug-mswindow, Vin Shelton patch to fix M-x shell
author Henry Thompson <ht@markup.co.uk>
date Fri, 27 Feb 2015 17:41:20 +0000
parents 68639fb08af8
children 574f0cded429
line wrap: on
line diff
--- a/src/event-msw.c	Fri Feb 06 09:08:37 2015 +0000
+++ b/src/event-msw.c	Fri Feb 27 17:41:20 2015 +0000
@@ -4965,8 +4965,9 @@
 
   if (debug_mswindows_events > 1)
     {
-      stderr_out (" wparam=%d lparam=%d hwnd=%p frame: ",
-		  (int)wParam, (int) lParam, hwnd);
+      stderr_out (" wparam=%d lparam=%d hwnd=%p frame: %d (%d)\n",
+		  (int)wParam, (int) lParam, hwnd, (int)qxeGetWindowLongPtr (hwnd, XWL_FRAMEOBJ),
+		  NILP (Vmswindows_frame_being_created));
       debug_print (frame);
       if (message_ == WM_WINDOWPOSCHANGED ||
           message_ == WM_WINDOWPOSCHANGING)