From 9b04f2582ba67e3cd4c60d93758b3ac298a432d2 Mon Sep 17 00:00:00 2001 From: jasper Date: Tue, 29 May 2007 22:38:44 +0000 Subject: [PATCH] show hidden windows when they should (eg. when the pointer is warped to them) from aon@iki.fi via bernd@ --- client.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); }