tokyo4j
babd7af8f8
view: store title/app_id in view
...
This simplifies our codes and eliminates duplicated
`view.events.new_{title,app_id}` events. This should not change any
behaviors.
2025-10-14 02:27:13 +09:00
tokyo4j
27cc738985
osd-thumbnail: make sure item->{normal,active}_title are non-null
...
The if-statement doesn't make sense, because `view_get_string_prop()`
never returns NULL. And if it did, it would cause segfault in
`osd_thumbnail_update()`.
2025-10-14 02:27:13 +09:00
John Lindgren
072d45d4b2
osd-thumbnail: put designated initializers in order
2025-09-13 12:06:52 +01:00
John Lindgren
b00873a988
src: remove unused #includes (via include-what-you-use)
2025-09-07 19:34:30 +09:00
tokyo4j
074b27fd47
scaled-scene-buffer: restructure source files
...
labwc.github.io / notify (push) Has been cancelled
- Rename `scaled_scene_buffer` to `scaled_buffer`. This makes it clear
that `scaled_{font,img,icon}_buffers` are implementations of it.
- Move the files from `src/common` to `src/scaled-buffer` as
`scaled_icon_buffer` heavily depends on `server` and `view` etc.
2025-09-02 21:31:19 +01:00
tokyo4j
78d47c5c37
overlay.h: reduce included headers
2025-08-31 13:24:51 +01:00
tokyo4j
2e9292b7a3
osd: support window switcher with thumbnails
...
The new-style window switcher can be enabled with
<windowSwitcher style="thumbnail">.
New theme entries:
osd.window-switcher.style-thumbnail.width.max: 80%
osd.window-switcher.style-thumbnail.padding: 4
osd.window-switcher.style-thumbnail.item.width: 300
osd.window-switcher.style-thumbnail.item.height: 250
osd.window-switcher.style-thumbnail.item.padding: 10
osd.window-switcher.style-thumbnail.item.active.border.width: 2
osd.window-switcher.style-thumbnail.item.active.border.color: #589bda
osd.window-switcher.style-thumbnail.item.active.bg.color: #c7e2fc
osd.window-switcher.style-thumbnail.item.icon.size: 60
2025-08-29 20:42:01 +01:00