Enlightenment CVS committal Author : codewarrior Project : e17 Module : proto
Dir : e17/proto/etk/src/engines/ecore_evas_x11 Modified Files: ecore_evas_x11.c Log Message: - reflect new ecore_evas changes for sticky callbacks =================================================================== RCS file: /cvs/e/e17/proto/etk/src/engines/ecore_evas_x11/ecore_evas_x11.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- ecore_evas_x11.c 27 Jul 2006 02:47:08 -0000 1.3 +++ ecore_evas_x11.c 27 Jul 2006 16:28:01 -0000 1.4 @@ -938,7 +938,6 @@ { Etk_Window *window; Ecore_X_Event_Window_Property *ev; - int sticky; if (!(window = ETK_WINDOW(data)) || !(ev = event)) return 1; @@ -953,31 +952,17 @@ engine_data = window->engine_data; win = engine_data->x_window; ecore_x_netwm_window_state_get(win, &state, &num); - - sticky = 0; - + if (state) { for (i = 0; i < num; i++) { switch (state[i]) { - case ECORE_X_WINDOW_STATE_STICKY: - if (window->sticky == 1) - break; - else - etk_object_notify(ETK_OBJECT(window), "sticky"); - window->sticky = 1; - sticky = 1; - break; + default: + break; } } - } - - if (window->sticky == 1 && sticky == 0) - { - window->sticky = 0; - etk_object_notify(ETK_OBJECT(window), "sticky"); } } } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs