Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_x


Modified Files:
        ecore_x_window.c 


Log Message:
formatting fixes. added vim modeline
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_window.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- ecore_x_window.c    26 Aug 2004 18:00:42 -0000      1.26
+++ ecore_x_window.c    26 Aug 2004 18:05:25 -0000      1.27
@@ -1,3 +1,7 @@
+/*
+ * vim:ts=8:sw=3:sts=3:noexpandtab
+ */
+
 #include "Ecore.h"
 #include "ecore_x_private.h"
 #include "Ecore_X.h"
@@ -239,11 +243,11 @@
 void
 ecore_x_window_del(Ecore_X_Window win)
 {
-       /* sorry sir, deleting the root window doesn't sound like
-        * a smart idea.
-        */
-       if (win)
-               XDestroyWindow(_ecore_x_disp, win);
+   /* sorry sir, deleting the root window doesn't sound like
+    * a smart idea.
+    */
+   if (win)
+      XDestroyWindow(_ecore_x_disp, win);
 }
 
 /**
@@ -254,23 +258,23 @@
 void
 ecore_x_window_delete_request_send(Ecore_X_Window win)
 {
-       XEvent xev;
+   XEvent xev;
+
+   /* sorry sir, deleting the root window doesn't sound like
+    * a smart idea.
+    */
+   if (!win)
+      return;
 
-       /* sorry sir, deleting the root window doesn't sound like
-        * a smart idea.
-        */
-       if (!win)
-               return;
-
-       xev.xclient.type = ClientMessage;
-       xev.xclient.display = _ecore_x_disp;
-       xev.xclient.window = win;
-       xev.xclient.message_type = _ecore_x_atom_wm_protocols;
-       xev.xclient.format = 32;
-       xev.xclient.data.l[0] = _ecore_x_atom_wm_delete_window;
-       xev.xclient.data.l[1] = CurrentTime;
+   xev.xclient.type = ClientMessage;
+   xev.xclient.display = _ecore_x_disp;
+   xev.xclient.window = win;
+   xev.xclient.message_type = _ecore_x_atom_wm_protocols;
+   xev.xclient.format = 32;
+   xev.xclient.data.l[0] = _ecore_x_atom_wm_delete_window;
+   xev.xclient.data.l[1] = CurrentTime;
 
-       XSendEvent(_ecore_x_disp, win, False, NoEventMask, &xev);
+   XSendEvent(_ecore_x_disp, win, False, NoEventMask, &xev);
 }
 
 /**




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to