Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_hints.c 


Log Message:
Cleanup

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_hints.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- e_hints.c   17 May 2005 17:41:27 -0000      1.27
+++ e_hints.c   18 May 2005 18:22:33 -0000      1.28
@@ -274,7 +274,6 @@
 {
    e_hints_window_state_get(bd);
    e_hints_window_type_get(bd);
-   int has;
 
    bd->client.icccm.state = ecore_x_icccm_state_get(bd->client.win);
    if (bd->client.icccm.state == ECORE_X_WINDOW_STATE_HINT_NONE)
@@ -297,10 +296,7 @@
      bd->layer = 100;
    e_border_raise(bd);
 
-   has = 1;
-   if (!ecore_x_netwm_desktop_get(bd->client.win, &bd->client.netwm.desktop))
-     has = 0;
-   if (has)
+   if (ecore_x_netwm_desktop_get(bd->client.win, &bd->client.netwm.desktop))
      {
        if (bd->client.netwm.desktop == 0xffffffff)
          e_border_stick(bd);




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to