indenting
This commit is contained in:
parent
e2f3c00224
commit
242dc35a36
1 changed files with 2 additions and 5 deletions
|
@ -1747,7 +1747,7 @@ gboolean client_should_show(ObClient *self)
|
||||||
{
|
{
|
||||||
if (self->iconic) return FALSE;
|
if (self->iconic) return FALSE;
|
||||||
else if (!(self->desktop == screen_desktop ||
|
else if (!(self->desktop == screen_desktop ||
|
||||||
self->desktop == DESKTOP_ALL)) return FALSE;
|
self->desktop == DESKTOP_ALL)) return FALSE;
|
||||||
else if (client_normal(self) && screen_showing_desktop) return FALSE;
|
else if (client_normal(self) && screen_showing_desktop) return FALSE;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
@ -2552,10 +2552,7 @@ gboolean client_can_focus(ObClient *self)
|
||||||
if (!self->frame->visible)
|
if (!self->frame->visible)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (!((self->can_focus || self->focus_notify) &&
|
if (!(self->can_focus || self->focus_notify))
|
||||||
(self->desktop == screen_desktop ||
|
|
||||||
self->desktop == DESKTOP_ALL) &&
|
|
||||||
!self->iconic))
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
/* do a check to see if the window has already been unmapped or destroyed
|
/* do a check to see if the window has already been unmapped or destroyed
|
||||||
|
|
Loading…
Reference in a new issue