Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        events.c 


Log Message:
Change some event debug printouts.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/events.c,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -3 -r1.63 -r1.64
--- events.c    10 Apr 2004 19:36:48 -0000      1.63
+++ events.c    15 Apr 2004 19:46:39 -0000      1.64
@@ -259,7 +259,7 @@
    /* Debug - should be taken out */
    if (EventDebug(EDBUG_TYPE_COMPRESSION))
       for (i = 0; i < count; i++)
-        Eprintf("EventsCompress-1 %3d t=%s w=%#lx\n", i,
+        Eprintf("EventsCompress-1 %3d %s w=%#lx\n", i,
                 EventName(evq[i].type), evq[i].xany.window);
 
    /* Loop through event list, starting with latest */
@@ -289,8 +289,9 @@
                    }
               }
             if (n && EventDebug(EDBUG_TYPE_COMPRESSION))
-               Eprintf("EventsCompress MotionNotify %#lx n=%4d x,y = %d,%d\n",
-                       ev->xmotion.window, n, ev->xmotion.x, ev->xmotion.y);
+               Eprintf("EventsCompress n=%4d %s %#lx x,y = %d,%d\n",
+                       n, EventName(ev->type), ev->xmotion.window,
+                       ev->xmotion.x, ev->xmotion.y);
             break;
 
          case Expose:
@@ -325,9 +326,9 @@
                  ev->xexpose.height = yb - ya;
               }
             if (EventDebug(EDBUG_TYPE_COMPRESSION))
-               Eprintf
-                  ("EventsCompress Expose %#lx n=%4d x=%4d-%4d y=%4d-%4d\n",
-                   ev->xexpose.window, n, xa, xb, ya, yb);
+               Eprintf("EventsCompress n=%4d %s %#lx x=%4d-%4d y=%4d-%4d\n",
+                       n, EventName(ev->type), ev->xexpose.window,
+                       xa, xb, ya, yb);
             break;
 
          default:
@@ -345,8 +346,8 @@
                         }
                    }
                  if (n && EventDebug(EDBUG_TYPE_COMPRESSION))
-                    Eprintf("EventsCompress ShapeNotify %#lx n=%4d\n",
-                            ev->xmotion.window, n);
+                    Eprintf("EventsCompress n=%4d %s %#lx\n",
+                            n, EventName(ev->type), ev->xmotion.window);
               }
             break;
          }
@@ -355,7 +356,7 @@
    /* Debug - should be taken out */
    if (EventDebug(EDBUG_TYPE_COMPRESSION))
       for (i = 0; i < count; i++)
-        Eprintf("EventsCompress-2 %3d t=%s w=%#lx\n", i,
+        Eprintf("EventsCompress-1 %3d %s w=%#lx\n", i,
                 EventName(evq[i].type), evq[i].xany.window);
 }
 




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to