Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_border.c 


Log Message:


make cursors 32x32.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_border.c,v
retrieving revision 1.369
retrieving revision 1.370
diff -u -3 -r1.369 -r1.370
--- e_border.c  26 Aug 2005 10:00:27 -0000      1.369
+++ e_border.c  28 Aug 2005 15:30:58 -0000      1.370
@@ -3,8 +3,8 @@
  */
 #include "e.h"
 
-//#define INOUTDEBUG_MOUSE 1
-//#define INOUTDEBUG_FOCUS 1
+#define INOUTDEBUG_MOUSE 1
+#define INOUTDEBUG_FOCUS 1
 
 /* These are compatible with netwm */
 #define RESIZE_TL   0
@@ -863,6 +863,7 @@
 {
    E_OBJECT_CHECK(bd);
    E_OBJECT_TYPE_CHECK(bd, E_BORDER_TYPE);
+   printf("e_border_focus_set(%p, %i %i);\n", bd, focus, set);
    if ((bd->visible) && (bd->changes.visible))
      {  
        if ((bd->want_focus) && (set) && (!focus))
@@ -964,8 +965,16 @@
        e_hints_active_window_set(bd->zone->container->manager, NULL);
      }
 #endif
-   if (bd->focused) focused = bd;
-   else if ((!bd->focused) && (focused == bd)) focused = NULL;
+   if (bd->focused)
+     {
+       focused = bd;
+       printf("set focused to %p\n", focused);
+     }
+   else if ((!bd->focused) && (focused == bd))
+     {
+       focused = NULL;
+       printf("set focused to %p\n", focused);
+     }
 }
 
 void
@@ -2848,7 +2857,8 @@
    else if (e->mode == ECORE_X_EVENT_MODE_UNGRAB)
      {
        /* for firefox/thunderbird (xul) menu walking */
-//     if (e->detail == ECORE_X_EVENT_DETAIL_INFERIOR) return 1;
+       /* NB: why did i disable this before? */
+       if (e->detail == ECORE_X_EVENT_DETAIL_INFERIOR) return 1;
      }
    else if (e->mode == ECORE_X_EVENT_MODE_WHILE_GRABBED)
      {




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to