Don't focus activated if focus is locked out.

SVN revision: 44456
This commit is contained in:
Christopher Michael 2009-12-15 00:12:26 +00:00
parent 0f2e260558
commit 47cbcc03ae
1 changed files with 3 additions and 2 deletions

View File

@ -163,8 +163,9 @@ _border_activate(E_Border *bd)
{ {
/* HANDLE A BORDER BEING ACTIVATED */ /* HANDLE A BORDER BEING ACTIVATED */
/* only set focus if border accepts it */ /* only set focus if border accepts it and it's not locked out */
if ((!bd->client.icccm.accepts_focus) && (!bd->client.icccm.take_focus)) if (((!bd->client.icccm.accepts_focus) && (!bd->client.icccm.take_focus)) ||
(bd->lock_focus_out))
return; return;
/* if the border is not focused, check focus settings */ /* if the border is not focused, check focus settings */