1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

Remove unused wWindowCanReceiveFocus()

The function wWindowCanReceiveFocus() is not used, remove it.
This commit is contained in:
Rodolfo García Peñas (kix)
2012-06-25 21:50:04 +02:00
committed by Carlos R. Mafra
parent fc9e453de2
commit c815449e68
2 changed files with 0 additions and 14 deletions

View File

@@ -421,18 +421,6 @@ void wWindowSetupInitialAttributes(WWindow *wwin, int *level, int *workspace)
wwin->client_flags.no_focusable = 1;
}
Bool wWindowCanReceiveFocus(WWindow *wwin)
{
if (!wwin->flags.mapped && (!wwin->flags.shaded || wwin->flags.hidden))
return False;
if (WFLAGP(wwin, no_focusable) || wwin->flags.miniaturized)
return False;
if (wwin->frame->workspace != wwin->screen_ptr->current_workspace)
return False;
return True;
}
Bool wWindowObscuresWindow(WWindow *wwin, WWindow *obscured)
{
int w1, h1, w2, h2;