mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 06:16:40 +02:00
Allow cursor to be displayed in a root bar
This commit is contained in:
@@ -607,7 +607,7 @@ gui_bar_window_draw (struct t_gui_bar_window *bar_window,
|
||||
|
||||
/* move cursor if it was asked in an item content (input_text does that
|
||||
to move cursor in user input text) */
|
||||
if (window && (gui_current_window == window)
|
||||
if ((!window || (gui_current_window == window))
|
||||
&& (bar_window->cursor_x >= 0) && (bar_window->cursor_y >= 0))
|
||||
{
|
||||
move (bar_window->cursor_y, bar_window->cursor_x);
|
||||
|
||||
Reference in New Issue
Block a user