_GTK_FRAME_EXTENTS changes using a property, not a client message
authorMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 28 Sep 2015 18:01:28 +0000 (14:01 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 28 Sep 2015 18:01:47 +0000 (14:01 -0400)
src/bin/e_comp_x.c

index 98e7b2b..d795e53 100644 (file)
@@ -1943,6 +1943,11 @@ _e_comp_x_property(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_W
         ec->e.fetch.profile = 1;
         EC_CHANGED(ec);
      }
+   else if (ev->atom == ATM_GTK_FRAME_EXTENTS)
+     {
+        _e_comp_x_client_data_get(ec)->fetch_gtk_frame_extents = 1;
+        EC_CHANGED(ec);
+     }
 
    return ECORE_CALLBACK_RENEW;
 }
@@ -2131,11 +2136,6 @@ _e_comp_x_message(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_Cl
           }
      }
 #endif
-   else if (ev->message_type == ATM_GTK_FRAME_EXTENTS)
-     {
-        _e_comp_x_client_data_get(ec)->fetch_gtk_frame_extents = 1;
-        EC_CHANGED(ec);
-     }
    else
      DBG("missed client message '%s' for %u", ecore_x_atom_name_get(ev->message_type), ev->win);
    return ECORE_CALLBACK_PASS_ON;