Merge branch 'master' of git://anongit.freedesktop.org/wayland
This commit is contained in:
@@ -841,6 +841,10 @@ terminal_draw(struct terminal *terminal)
|
|||||||
(int32_t) terminal->extents.max_x_advance;
|
(int32_t) terminal->extents.max_x_advance;
|
||||||
height = (rectangle.height - 2 * terminal->margin) /
|
height = (rectangle.height - 2 * terminal->margin) /
|
||||||
(int32_t) terminal->extents.height;
|
(int32_t) terminal->extents.height;
|
||||||
|
|
||||||
|
if (width < 0 || height < 0)
|
||||||
|
return;
|
||||||
|
|
||||||
terminal_resize(terminal, width, height);
|
terminal_resize(terminal, width, height);
|
||||||
|
|
||||||
window_draw(terminal->window);
|
window_draw(terminal->window);
|
||||||
|
|||||||
Reference in New Issue
Block a user