]> git.mdlowis.com Git - proto/labwc.git/commit
Support xdg-toplevel-icon protocol
authortokyo4j <hrak1529@gmail.com>
Fri, 30 May 2025 11:58:48 +0000 (20:58 +0900)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Fri, 6 Jun 2025 17:12:56 +0000 (02:12 +0900)
commitfb077c00950cc23997fe88aa5b04502cb5ec855e
treed124aac7b827ad128a9a3f0f4cbd17119d5a19d7
parent649773b4f83bee6daa34da7c6ab40b6de2eddc0e
Support xdg-toplevel-icon protocol

This patch also changes the semantics of scaled_icon_buffer: rather than
calling scaled_icon_buffer_set_app_id() every time an app_id is set, we
can now call scaled_icon_buffer_set_view() just once so that multiple
scaled_icon_buffers bound to a window are automatically updated when an
app_id is set or new icon is set via xdg-toplevel-icon-v1.
12 files changed:
include/common/scaled-icon-buffer.h
include/labwc.h
include/ssd.h
include/view.h
src/common/scaled-icon-buffer.c
src/menu/menu.c
src/osd.c
src/server.c
src/ssd/ssd-part.c
src/ssd/ssd-titlebar.c
src/view.c
src/xdg.c