[Xorg-commit] xc/lib/windows windowswm.c,1.1.2.1,1.1.2.2 windowswm.h,1.1.2.1,1.1.2.2

Kensuke Matsuzaki xorg-commit at pdx.freedesktop.org
Thu Dec 18 03:32:05 EET 2003


Committed by: zakki

Update of /cvs/xorg/xc/lib/windows
In directory pdx:/tmp/cvs-serv7712/lib/windows

Modified Files:
      Tag: CYGWIN
	windowswm.c windowswm.h 
Log Message:
improve resizing/moving window
ifdef out debugging message


Index: windowswm.c
===================================================================
RCS file: /cvs/xorg/xc/lib/windows/Attic/windowswm.c,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- windowswm.c	5 Dec 2003 03:37:26 -0000	1.1.2.1
+++ windowswm.c	18 Dec 2003 01:32:03 -0000	1.1.2.2
@@ -142,7 +142,7 @@
  *                                                                           *
  *****************************************************************************/
 
-#if 1
+#if 0
 #include <stdio.h>
 #define TRACE(msg)  fprintf(stderr, "WindowsWM%s\n", msg);
 #else
@@ -345,10 +345,6 @@
   req->iy = iy;
   req->iw = iw;
   req->ih = ih;
-  printf ("0x%08x 0x%08x 0x%08x",
-	  (int)req->window, (int)req->frame_style, (int)req->frame_style_ex);
-  printf ("%d %d %d %d\n",
-	  req->ix, req->iy, req->iw, req->ih);
   
   UnlockDisplay(dpy);
   SyncHandle();

Index: windowswm.h
===================================================================
RCS file: /cvs/xorg/xc/lib/windows/Attic/windowswm.h,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- windowswm.h	5 Dec 2003 03:37:26 -0000	1.1.2.1
+++ windowswm.h	18 Dec 2003 01:32:03 -0000	1.1.2.2
@@ -130,6 +130,9 @@
 #define WindowsWMFrameStyleExTransparent	32
 #define WindowsWMFrameStyleExWindowEdge		256
 
+#define WINDOWSWM_RAISE_ON_CLICK "_WINDOWSWM_RAISE_ON_CLICK"
+#define WINDOWSWM_MOUSE_ACTIVATE "_WINDOWSWM_MOUSE_ACTIVATE"
+#define WINDOWSWM_CLIENT_WINDOW "_WINDOWSWM_CLIENT_WINDOW"
 
 #ifndef _WINDOWSWM_SERVER_
 





More information about the xorg-commit mailing list