diff options
author | nicm <nicm> | 2020-04-13 20:51:57 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-04-13 20:51:57 +0000 |
commit | 3f7f9a0e20522c73e33480673496240f1bac724b (patch) | |
tree | c0ec19a026014bfd6981622ecd9ee2783344ef25 /window.c | |
parent | 187277eaadc4a675659bf7ede88f50bfe6cc7be9 (diff) | |
download | rtmux-3f7f9a0e20522c73e33480673496240f1bac724b.tar.gz rtmux-3f7f9a0e20522c73e33480673496240f1bac724b.tar.bz2 rtmux-3f7f9a0e20522c73e33480673496240f1bac724b.zip |
Make client -c and -t handling common in cmd-queue.c and try to be
clearer about whether the client is the target client (must have a
session) or not.
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1150,7 +1150,7 @@ window_pane_key(struct window_pane *wp, struct client *c, struct session *s, wme = TAILQ_FIRST(&wp->modes); if (wme != NULL) { - if (wme->mode->key != NULL) + if (wme->mode->key != NULL && c != NULL) wme->mode->key(wme, c, s, wl, (key & ~KEYC_XTERM), m); return (0); } |