diff options
author | jasper <jasper> | 2007-05-29 22:38:44 +0000 |
---|---|---|
committer | jasper <jasper> | 2007-05-29 22:38:44 +0000 |
commit | 9b04f2582ba67e3cd4c60d93758b3ac298a432d2 (patch) | |
tree | 25a3070fcdae80094b9ccdf0fc6e8a68d34d3aba | |
parent | 5a0f777c6f9b3d9a0d46b933ead17a26b10295e9 (diff) | |
download | cwm-9b04f2582ba67e3cd4c60d93758b3ac298a432d2.tar.gz cwm-9b04f2582ba67e3cd4c60d93758b3ac298a432d2.tar.xz cwm-9b04f2582ba67e3cd4c60d93758b3ac298a432d2.zip |
show hidden windows when they should (eg. when the pointer is warped to them)
from aon@iki.fi via bernd@
-rw-r--r-- | client.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client.c b/client.c index c158503..efaa925 100644 --- a/client.c +++ b/client.c @@ -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); } |