Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        E.h events.c focus.c stacking.c 


Log Message:
Some more debug stuff.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -3 -r1.230 -r1.231
--- E.h 21 Mar 2004 01:39:39 -0000      1.230
+++ E.h 22 Mar 2004 16:36:02 -0000      1.231
@@ -1963,6 +1963,10 @@
 /* events.c */
 #define ENABLE_DEBUG_EVENTS 1
 #if ENABLE_DEBUG_EVENTS
+#define EDBUG_TYPE_FOCUS       128
+#define EDBUG_TYPE_COMPRESSION 129
+#define EDBUG_TYPE_STACKING    130
+#define EDBUG_TYPE_RAISELOWER  131
 int                 EventDebug(unsigned int type);
 #else
 #define             EventDebug(type) 0
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/events.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -3 -r1.58 -r1.59
--- events.c    20 Mar 2004 15:49:05 -0000      1.58
+++ events.c    22 Mar 2004 16:36:03 -0000      1.59
@@ -187,7 +187,7 @@
             ev->xexpose.y = ya;
             ev->xexpose.height = yb - ya;
          }
-       if (EventDebug(51))
+       if (EventDebug(EDBUG_TYPE_COMPRESSION))
           printf("EventsCompress Expose %#lx n=%4d x=%4d-%4d y=%4d-%4d\n",
                  ev->xexpose.window, i, xa, xb, ya, yb);
        break;
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/focus.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -3 -r1.58 -r1.59
--- focus.c     20 Mar 2004 15:49:05 -0000      1.58
+++ focus.c     22 Mar 2004 16:36:03 -0000      1.59
@@ -211,7 +211,7 @@
 
    EDBUG(4, "FocusToEWin");
 
-   if (EventDebug(50))
+   if (EventDebug(EDBUG_TYPE_FOCUS))
      {
        if (ewin)
           printf("FocusToEWin %#lx %s why=%d\n", ewin->client.win,
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/stacking.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- stacking.c  20 Mar 2004 15:20:40 -0000      1.3
+++ stacking.c  22 Mar 2004 16:36:03 -0000      1.4
@@ -39,7 +39,7 @@
    int                 i;
    EWin               *ewin;
 
-   if (!EventDebug(129))
+   if (!EventDebug(EDBUG_TYPE_STACKING))
       return;
 
    printf("%s-%s:\n", ewl->name, txt);




-------------------------------------------------------
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