From a8a111dffd2752fc5be7773a67d03306dd92d05e Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 3 Oct 2016 13:41:30 +0000 Subject: client_ptrwarp should not deal with unhiding or raising clients (non ptr requests); most callers do this already - deal with the few that do not. client_ptrwarp becomes a simple wrapper (setpos) but it will be expanded. --- kbfunc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kbfunc.c') diff --git a/kbfunc.c b/kbfunc.c index efcfd3c..c5b0083 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -187,6 +187,8 @@ kbfunc_menu_client(struct client_ctx *cc, union arg *arg) cc = (struct client_ctx *)mi->ctx; if (cc->flags & CLIENT_HIDDEN) client_unhide(cc); + else + client_raise(cc); if (old_cc) client_ptrsave(old_cc); client_ptrwarp(cc); -- cgit 1.4.1