forked from enlightenment/enlightenment
e: whitespaces-- and use x = !x instead of if else
SVN revision: 56992
This commit is contained in:
parent
5b5a0ee3a9
commit
fbe9738e6f
|
@ -760,10 +760,7 @@ ACT_FN_GO(window_borderless_toggle, __UNUSED__)
|
|||
E_Border *bd;
|
||||
|
||||
bd = (E_Border *)obj;
|
||||
if (bd->borderless)
|
||||
bd->borderless = 0;
|
||||
else
|
||||
bd->borderless = 1;
|
||||
bd->borderless = !bd->borderless;
|
||||
|
||||
bd->client.border.changed = 1;
|
||||
bd->changed = 1;
|
||||
|
@ -778,7 +775,7 @@ ACT_FN_GO(window_pinned_toggle, __UNUSED__)
|
|||
if (!obj) return;
|
||||
if (!((E_Border *)obj)->lock_border)
|
||||
{
|
||||
E_Border *bd;
|
||||
E_Border *bd;
|
||||
|
||||
bd = (E_Border *)obj;
|
||||
if ((bd->client.netwm.state.stacking == E_STACKING_BELOW) &&
|
||||
|
|
Loading…
Reference in New Issue