From dd5f9e3c1eb972d14c8e903f32a024c0953754e0 Mon Sep 17 00:00:00 2001 From: Felix Palmen Date: Wed, 31 Jul 2024 18:32:52 +0200 Subject: [PATCH] TextBox: Bugfix, don't set tick timer The cursor doesn't use the tick timer any more, remove remaining code setting it. --- src/bin/xmoji/textbox.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/bin/xmoji/textbox.c b/src/bin/xmoji/textbox.c index 3833883..ab096c2 100644 --- a/src/bin/xmoji/textbox.c +++ b/src/bin/xmoji/textbox.c @@ -504,7 +504,6 @@ static void keyPressed(void *obj, const KeyEvent *event) TextRenderer_setText(self->renderer, str); PSC_Event_raise(self->textChanged, 0, (void *)str); cursoronly: - PSC_Service_setTickInterval(600); self->cursorvisible = 1; Widget_invalidate(self); if (oldSelection.len != self->selection.len @@ -630,7 +629,6 @@ static int clicked(void *obj, const ClickEvent *event) if (index != self->cursor || self->selection.len != selectlen) { Widget_invalidate(self); - PSC_Service_setTickInterval(600); self->cursorvisible = 1; } self->cursor = index;