mirror of
https://github.com/labwc/labwc.git
synced 2026-02-26 01:40:22 -05:00
ssd: respect logical size when displaying window icon
get_scale_box() was using the raw pixel size of the icon buffer for layout, which caused the icon to be incorrectly scaled up if the buffer scale was >1.
This commit is contained in:
parent
ddfaae98ad
commit
465aac5514
3 changed files with 9 additions and 9 deletions
|
|
@ -149,7 +149,7 @@ struct ssd_part *add_scene_button(struct wl_list *part_list,
|
|||
struct lab_data_buffer *buffers[LAB_BS_ALL + 1], int x,
|
||||
struct view *view);
|
||||
void update_window_icon_buffer(struct wlr_scene_node *button_node,
|
||||
struct wlr_buffer *buffer);
|
||||
struct lab_data_buffer *buffer);
|
||||
|
||||
/* SSD internal helpers */
|
||||
struct ssd_part *ssd_get_part(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue