xF: improve the X11 IM experience
Bump liberty. We're not yet achieving what we want to.
This commit is contained in:
+1
-1
Submodule liberty updated: fb6170f2b6...8fdb6c702d
@@ -2109,10 +2109,7 @@ tui_render_editor (struct widget *self)
|
||||
self->attrs | A_REVERSE);
|
||||
}
|
||||
tui_flush_buffer (self, 0, &buf);
|
||||
|
||||
// FIXME: This should be at the end of of tui_render().
|
||||
move (self->y, self->x + preceding);
|
||||
curs_set (1);
|
||||
tui_set_cursor (self->x + preceding, self->y);
|
||||
}
|
||||
|
||||
static struct widget *
|
||||
@@ -2193,6 +2190,8 @@ x11_render_editor (struct widget *self)
|
||||
XRenderColor white = { 0xffff, 0xffff, 0xffff, 0xffff };
|
||||
XRenderFillRectangle (g_xui.dpy, PictOpDifference, g_xui.x11_pixmap_picture,
|
||||
&white, caret, self->y, CARET_WIDTH, self->height);
|
||||
x11_set_cursor (caret,
|
||||
self->y + x11_widget_font (self)->list->font->ascent);
|
||||
}
|
||||
|
||||
static struct widget *
|
||||
@@ -3255,8 +3254,6 @@ app_layout (void)
|
||||
root->width = g_xui.width;
|
||||
root->height = g_xui.height;
|
||||
g_xui.widgets = root;
|
||||
|
||||
curs_set (0);
|
||||
}
|
||||
|
||||
// --- Commands and interaction ------------------------------------------------
|
||||
@@ -4598,10 +4595,10 @@ main (int argc, char *argv[])
|
||||
xui_preinit ();
|
||||
app_init_bindings ();
|
||||
app_init_line_item_colors ();
|
||||
g_log_message_real = app_log_handler;
|
||||
|
||||
xui_start (&g.poller, requested_gui, g_attrs, g_attrs_len);
|
||||
app_select_backend ();
|
||||
g_log_message_real = app_log_handler;
|
||||
xui_invalidate ();
|
||||
|
||||
poller_timer_set (&g.relay.reconnect_event, 0);
|
||||
|
||||
Reference in New Issue
Block a user