From 7c957b4564c9397eac9d562d14509c119c9d0ab6 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 8 Jan 2024 22:40:11 +0000 Subject: [PATCH] remove pointless box structure --- desktop/selection.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/desktop/selection.c b/desktop/selection.c index 332e9dafa..8b1f127c4 100644 --- a/desktop/selection.c +++ b/desktop/selection.c @@ -54,7 +54,6 @@ typedef enum { struct selection { struct content *c; - struct box *root; unsigned max_idx; /* total bytes in text representation */ @@ -257,7 +256,6 @@ struct selection *selection_create(struct content *c) sel = calloc(1, sizeof(struct selection)); if (sel) { sel->c = c; - sel->root = NULL; sel->drag_state = DRAG_NONE; sel->max_idx = 0; selection_clear(sel, false);