panel: redo layout when panel resizes
This commit is contained in:
parent
558c21b8b2
commit
301065d732
@ -84,6 +84,8 @@ int active_window = -1;
|
||||
static int was_tabbing = 0;
|
||||
static int new_focused = -1;
|
||||
|
||||
static void widgets_layout(void);
|
||||
|
||||
/**
|
||||
* Clip text and add ellipsis to fit a specified display width.
|
||||
*/
|
||||
@ -650,6 +652,7 @@ static void resize_finish(int xwidth, int xheight) {
|
||||
bg_blob = realloc(bg_blob, bg_size);
|
||||
memcpy(bg_blob, ctx->backbuffer, bg_size);
|
||||
|
||||
widgets_layout();
|
||||
update_window_list();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user