Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_int_border_menu.c 


Log Message:
Minor fix for Skip Pager menu entry. It wasn't always updating some borders
based on skip_pager property change.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_border_menu.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -3 -r1.76 -r1.77
--- e_int_border_menu.c 27 Nov 2007 05:52:16 -0000      1.76
+++ e_int_border_menu.c 9 Dec 2007 00:23:50 -0000       1.77
@@ -655,7 +655,7 @@
    bd = data;
    if (!bd) return;
 
-   if ((bd->client.icccm.accepts_focus || bd->client.icccm.take_focus) &&
+   if ((bd->client.icccm.accepts_focus) || (bd->client.icccm.take_focus) &&
        (!bd->client.netwm.state.skip_taskbar))
      bd->user_skip_winlist = e_menu_item_toggle_get(mi);
    else
@@ -671,13 +671,11 @@
    bd = data;
    if (!bd) return;
 
-   if ((bd->client.icccm.accepts_focus || bd->client.icccm.take_focus))
-     {
-       bd->client.netwm.state.skip_pager = e_menu_item_toggle_get(mi);
-       bd->changed = 1;
-     }
+   if ((bd->client.icccm.accepts_focus) || (bd->client.icccm.take_focus))
+     bd->client.netwm.state.skip_pager = e_menu_item_toggle_get(mi);
    else
      bd->client.netwm.state.skip_pager = 0;
+   bd->changed = 1;
    if (bd->remember) e_remember_update(bd->remember, bd);
 }
 



-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to