diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-09-24 18:01:24 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-09-24 18:01:24 +0100 |
commit | 2534aa4d2d0b29013065468f75fb407c6eb603c4 (patch) | |
tree | 25e5791b50406281f882e4239f29e33b240b533d /format.c | |
parent | cb1a6266921fc57991e572c898e06e8dd9f49c00 (diff) | |
parent | e8adcae0f24c6089cae9c60e7b087a00a582f9f9 (diff) | |
download | rtmux-2534aa4d2d0b29013065468f75fb407c6eb603c4.tar.gz rtmux-2534aa4d2d0b29013065468f75fb407c6eb603c4.tar.bz2 rtmux-2534aa4d2d0b29013065468f75fb407c6eb603c4.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -737,6 +737,8 @@ format_cb_mouse_word(struct format_tree *ft, struct format_entry *fe) wp = cmd_mouse_pane(&ft->m, NULL, NULL); if (wp == NULL) return; + if (!TAILQ_EMPTY (&wp->modes)) + return; if (cmd_mouse_at(wp, &ft->m, &x, &y, 0) != 0) return; gd = wp->base.grid; @@ -813,6 +815,8 @@ format_cb_mouse_line(struct format_tree *ft, struct format_entry *fe) wp = cmd_mouse_pane(&ft->m, NULL, NULL); if (wp == NULL) return; + if (!TAILQ_EMPTY (&wp->modes)) + return; if (cmd_mouse_at(wp, &ft->m, &x, &y, 0) != 0) return; gd = wp->base.grid; |