Commit 632676d0 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

conhost: Import window state update from wineconsole.

parent 7d48e0c5
......@@ -294,11 +294,6 @@ static void init_tty_output( struct console *console )
console->tty_cursor_visible = TRUE;
}
static void empty_update_rect( struct screen_buffer *screen_buffer, RECT *rect )
{
SetRect( rect, screen_buffer->width, screen_buffer->height, 0, 0 );
}
static void scroll_to_cursor( struct screen_buffer *screen_buffer )
{
int w = screen_buffer->win.right - screen_buffer->win.left + 1;
......
......@@ -133,4 +133,9 @@ struct screen_buffer
BOOL init_window( struct console *console );
NTSTATUS change_screen_buffer_size( struct screen_buffer *screen_buffer, int new_width, int new_height );
static inline void empty_update_rect( struct screen_buffer *screen_buffer, RECT *rect )
{
SetRect( rect, screen_buffer->width, screen_buffer->height, 0, 0 );
}
#endif /* RC_INVOKED */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment