mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
parent
93318d211b
commit
0c337629cf
1 changed files with 6 additions and 2 deletions
|
|
@ -207,9 +207,13 @@ static void apply_workspace_state(struct sway_workspace *ws,
|
|||
|
||||
static void apply_container_state(struct sway_container *container,
|
||||
struct sway_container_state *state) {
|
||||
int tw = 0, th = 0;
|
||||
struct wlr_texture *texture = config->border_textures.focused.texture;
|
||||
if (texture) {
|
||||
wlr_texture_get_size(texture, &tw, &th);
|
||||
}
|
||||
|
||||
struct sway_view *view = container->view;
|
||||
int tw, th;
|
||||
wlr_texture_get_size(config->border_textures.focused.texture, &tw, &th);
|
||||
// Damage the old location
|
||||
desktop_damage_whole_container(container);
|
||||
if (view && !wl_list_empty(&view->saved_buffers)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue