show hidden windows when they should (eg. when the pointer is warped to them)

from aon@iki.fi via bernd@
This commit is contained in:
jasper 2007-05-29 22:38:44 +00:00
parent 5a0f777c6f
commit 9b04f2582b

View File

@ -409,7 +409,11 @@ client_ptrwarp(struct client_ctx *cc)
y = cc->geom.height / 2;
}
client_raise(cc);
if (cc->state == IconicState)
client_unhide(cc);
else
client_raise(cc);
xu_ptr_setpos(cc->pwin, x, y);
}