diff src/ExternalClient-Xlib.c @ 2108:8de911beca70

[xemacs-hg @ 2004-06-02 09:16:14 by didierv] C++ related fixes
author didierv
date Wed, 02 Jun 2004 09:16:21 +0000
parents 376386a54a3c
children 2aa9cd456ae7
line wrap: on
line diff
--- a/src/ExternalClient-Xlib.c	Tue Jun 01 21:51:03 2004 +0000
+++ b/src/ExternalClient-Xlib.c	Wed Jun 02 09:16:21 2004 +0000
@@ -59,10 +59,10 @@
       Status st;
       Window root_win, parent_win;
       Window *child_win;
-      int nchild;
+      unsigned int nchild;
 
-      st = XQueryTree(display, win, &root_win, &parent_win, &child_win,
-		      &nchild);
+      st = XQueryTree (display, win, &root_win, &parent_win, &child_win,
+		       &nchild);
       if (!st)
 	return False;
       XFree((XPointer)child_win);
@@ -75,7 +75,7 @@
   while (1);
 }
 
-  
+
 /* External entry points when using XLib directly */
 
 void ExternalClientInitialize (Display *display, Window win);
@@ -100,7 +100,7 @@
 {
   if (win != event->xany.window)
     return;
-  
+
   if (event->type == ClientMessage &&
       event->xclient.message_type == a_EXTW_NOTIFY &&
       event->xclient.data.l[0] == extw_shell_send)
@@ -109,11 +109,11 @@
       /* for the moment, just refuse geometry requests. */
       extw_send_notify_3(display, win, extw_notify_gm, XtGeometryNo, 0, 0);
       break;
-      
+
     case extw_notify_init:
       extw_send_notify_3(display, win, extw_notify_init, EXTW_TYPE_XLIB, 0, 0);
       break;
-      
+
     case extw_notify_end:
       XClearArea(display, win, 0, 0, 0, 0, True);
       break;