diff options
author | okan | 2016-10-03 13:41:30 +0000 |
---|---|---|
committer | okan | 2016-10-03 13:41:30 +0000 |
commit | 59314d892ab90c218f2fd9b63761bf898ac4da2f (patch) | |
tree | 9aa10135d2a42b84834f16198438b2dfd6cf251c /kbfunc.c | |
parent | d0575d0c5db22491b1c794d28ede0d6c6ecf34c7 (diff) | |
download | cwm-59314d892ab90c218f2fd9b63761bf898ac4da2f.tar.gz |
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.
Diffstat (limited to 'kbfunc.c')
-rw-r--r-- | kbfunc.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: kbfunc.c,v 1.127 2016/09/22 14:36:03 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.128 2016/10/03 13:41:30 okan Exp $ */ #include <sys/types.h> @@ -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); |