mirror of
https://github.com/labwc/labwc.git
synced 2025-11-06 13:29:58 -05:00
src/ssd: un-round corners on maximize
This commit is contained in:
parent
10f22a8f5b
commit
f42f5f41c5
3 changed files with 39 additions and 2 deletions
|
|
@ -152,7 +152,7 @@ add_scene_button(struct wl_list *part_list, enum ssd_part_type type,
|
|||
wlr_scene_node_set_position(button_root->node, x, 0);
|
||||
|
||||
/* Background */
|
||||
add_scene_rect(part_list, type, parent,
|
||||
struct ssd_part *bg_rect = add_scene_rect(part_list, type, parent,
|
||||
SSD_BUTTON_WIDTH, rc.theme->title_height, 0, 0, bg_color);
|
||||
|
||||
/* Icon */
|
||||
|
|
@ -175,6 +175,7 @@ add_scene_button(struct wl_list *part_list, enum ssd_part_type type,
|
|||
button->type = type;
|
||||
button->view = view;
|
||||
button->hover = hover;
|
||||
button->background = bg_rect->node;
|
||||
return button_root;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue