Add some printfs for debugging.
authorChristopher Michael <cpmichael1@comcast.net>
Tue, 23 Feb 2010 01:21:22 +0000 (01:21 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Tue, 23 Feb 2010 01:21:22 +0000 (01:21 +0000)
SVN revision: 46375

src/modules/illume2/e_mod_policy.c
src/modules/illume2/policies/illume/policy.c

index 568a43a48ffd4cb11afe19a84963a871b42ea6e4..a8e7c12bdfc5d524b0b488abe198e75dd6962c55 100644 (file)
@@ -432,8 +432,6 @@ _e_mod_policy_cb_client_message(void *data __UNUSED__, int type __UNUSED__, void
         if ((_policy) && (_policy->funcs.drag_end))
           _policy->funcs.drag_end(bd);
      }
-//   else
-//     printf("Client Message: %s\n", ecore_x_atom_name_get(ev->message_type));
 
    return 1;
 }
index 36eae10b8f4b16eb6ad7498a32e0e10c0f4a28cd..a5e2540072513fa3689009095ca82f117d571e61 100644 (file)
@@ -230,9 +230,7 @@ _policy_zone_layout_update(E_Zone *zone)
         if (bd->zone != zone) continue;
 
         /* skip special windows */
-        /* NB: We trigger a layout update on indicator windows so that 
-         * quickpanel position gets updated so don't include indicators here */
-//        if (e_illume_border_is_indicator(bd)) continue;
+        if (e_illume_border_is_indicator(bd)) continue;
         if (e_illume_border_is_softkey(bd)) continue;
         if (e_illume_border_is_keyboard(bd)) continue;
         if (e_illume_border_is_quickpanel(bd)) continue;
@@ -1268,7 +1266,7 @@ _policy_zone_layout(E_Zone *zone)
 void 
 _policy_zone_move_resize(E_Zone *zone) 
 {
-   printf("Zone move resize\n");
+//   printf("Zone move resize\n");
 
    /* zone size or position changed, tell layout to update */
    _policy_zone_layout(zone);
@@ -1281,7 +1279,7 @@ _policy_zone_mode_change(E_Zone *zone, Ecore_X_Atom mode)
    E_Border *bd;
    int count;
 
-//   printf("Zone mode change\n");
+//   printf("Zone mode change: %d\n", zone->id);
 
    /* get the config for this zone */
    cz = e_illume_zone_config_get(zone->id);
@@ -1573,7 +1571,7 @@ _policy_property_change(Ecore_X_Event_Window_Property *event)
              ecore_x_e_illume_softkey_geometry_set(bd->client.win, x, y, w, h);
           }
      }
-   else if (!(strcmp(ecore_x_atom_name_get(event->atom), "ENLIGHTENMENT_SCALE"))) 
+   else if (!strcmp(ecore_x_atom_name_get(event->atom), "ENLIGHTENMENT_SCALE")) 
      {
         Eina_List *ml;
         E_Manager *man;