+static Eina_Bool __property(void *data, int type, void *event)
+{
+ Ecore_X_Event_Window_Property *ev = event;
+
+ if (!ev)
+ return ECORE_CALLBACK_PASS_ON;
+
+ if (ev->atom == ATOM_ROTATION_LOCK) {
+ _DBG("[APP %d] Rotation: %d -> %d, cb_set : %d", getpid(), rot.mode, changed_m, rot.cb_set);
+ if (rot.cb_set && rot.mode != changed_m) {
+ rot.callback(changed_m, changed_data);
+ rot.mode = changed_m;
+ }
+
+ ecore_event_handler_del(changed_handle);
+ changed_handle = NULL;
+ }
+
+ return ECORE_CALLBACK_PASS_ON;
+}
+