summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authornicm <nicm>2022-10-28 13:00:02 +0000
committernicm <nicm>2022-10-28 13:00:02 +0000
commit8edece2cdb7b4425526bae904506a246edbb6409 (patch)
treedeaaac60c890b8fd4e26913c21fcbfcf54c07508 /input.c
parentc2580cfe2466589c8bd9348225820888a3fc4c0a (diff)
Add paste-buffer-deleted notification and fix name of paste-buffer-changed.
Diffstat (limited to 'input.c')
-rw-r--r--input.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/input.c b/input.c
index 8b174769..779b9013 100644
--- a/input.c
+++ b/input.c
@@ -1755,7 +1755,6 @@ static void
input_csi_dispatch_sm_private(struct input_ctx *ictx)
{
struct screen_write_ctx *sctx = &ictx->ctx;
- struct window_pane *wp = ictx->wp;
struct grid_cell *gc = &ictx->cell.cell;
u_int i;
@@ -1797,17 +1796,7 @@ input_csi_dispatch_sm_private(struct input_ctx *ictx)
screen_write_mode_set(sctx, MODE_MOUSE_ALL);
break;
case 1004:
- if (sctx->s->mode & MODE_FOCUSON)
- break;
screen_write_mode_set(sctx, MODE_FOCUSON);
- if (wp == NULL)
- break;
- if (!options_get_number(global_options, "focus-events"))
- break;
- if (wp->flags & PANE_FOCUSED)
- bufferevent_write(wp->event, "\033[I", 3);
- else
- bufferevent_write(wp->event, "\033[O", 3);
break;
case 1005:
screen_write_mode_set(sctx, MODE_MOUSE_UTF8);