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:
- dont notify if its already sticky
===================================================================
RCS file: /cvs/e/e17/proto/etk/src/engines/ecore_evas_x11/ecore_evas_x11.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ecore_evas_x11.c 27 Jul 2006 02:45:24 -0000 1.2
+++ ecore_evas_x11.c 27 Jul 2006 02:47:08 -0000 1.3
@@ -963,9 +963,12 @@
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;
- etk_object_notify(ETK_OBJECT(window), "sticky");
+ sticky = 1;
break;
}
}
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs