labwc/src
David Turner ce0d2c2966
ssd: add window drop-shadows (#1648)
Add optional drop-shadows to windows using server-side decoration.
Shadows can be enabled/disabled rc.xml and their appearance configured
in themerc.  The default is no shadows to preserve current behaviour.

The shadows are drawn in fixed corner and edge buffers shared between
all windows, the edges are scaled to size depending on the size of each
window.  Two sets of buffers are used to give the different appearances
for active and inactive windows.  I use separate corner/edge buffers for
a few reasons:

- It avoids needing to store a separate large shadow buffer per window
- It avoids needing to redraw the shadows when the window is being
  resized
- Compositing the shadows onto the desktop should be faster as there are
  overall fewer pixels to blend, and scaling up the edge buffers only
  requires reading a tiny buffer which is then replicated.
2024-04-22 19:27:53 +01:00
..
button common/buf: rename buf->buf to buf->data 2024-04-18 07:00:23 +01:00
common common/buf: rename buf->buf to buf->data 2024-04-18 07:00:23 +01:00
config ssd: add window drop-shadows (#1648) 2024-04-22 19:27:53 +01:00
decorations Chase wlroots: xdg-decoration now references a toplevel 2023-11-27 21:01:53 +00:00
input Fix some header includes detected by clangd 2024-04-21 21:58:57 +02:00
menu common/buf: rename buf->buf to buf->data 2024-04-18 07:00:23 +01:00
ssd ssd: add window drop-shadows (#1648) 2024-04-22 19:27:53 +01:00
action.c Fix pid lookup for the Kill action 2024-04-22 19:11:57 +01:00
buffer.c theme: create hover button fallbacks 2023-12-21 02:42:23 +01:00
debug.c overlay: allow to draw both/either of filled/outlined rectangle 2024-04-22 19:22:23 +01:00
desktop.c osd: add window-switcher custom field (#1670) 2024-04-10 23:39:31 +01:00
dnd.c Remove headers not being used directly 2023-12-22 20:19:39 +00:00
edges.c snap: cache and ignore last-snapped edge when growing or shrinking 2024-04-10 23:30:28 +01:00
foreign.c src/view.c: store outputs the view is visible on 2024-02-06 17:23:45 +01:00
idle.c Chase wlroots: drop KDE idle protocol 2023-11-27 21:01:53 +00:00
interactive.c snap: cache and ignore last-snapped edge when growing or shrinking 2024-04-10 23:30:28 +01:00
layers.c src/layer.c: deal with wlroots scene graph running out of memory 2024-04-10 08:14:59 +02:00
main.c overlay: allow to draw both/either of filled/outlined rectangle 2024-04-22 19:22:23 +01:00
meson.build osd: add window-switcher custom field (#1670) 2024-04-10 23:39:31 +01:00
node.c common: Add znew/znew_n() macros 2022-09-18 15:25:19 -04:00
osd.c common/buf: rename buf->buf to buf->data 2024-04-18 07:00:23 +01:00
osd_field.c common/buf: rename buf->buf to buf->data 2024-04-18 07:00:23 +01:00
output-virtual.c Fix various typos across the codebase 2024-03-08 13:59:20 +01:00
output.c output: ensure we don't run into an assert() on VT switch 2024-04-08 21:14:47 +01:00
overlay.c overlay: allow to draw both/either of filled/outlined rectangle 2024-04-22 19:22:23 +01:00
placement.c Fix various typos across the codebase 2024-03-08 13:59:20 +01:00
regions.c overlay: add snap-to-edge overlay (PR #1652) 2024-04-05 04:35:31 +02:00
resistance.c snap: cache and ignore last-snapped edge when growing or shrinking 2024-04-10 23:30:28 +01:00
seat.c Fix some header includes detected by clangd 2024-04-21 21:58:57 +02:00
server.c overlay: allow to draw both/either of filled/outlined rectangle 2024-04-22 19:22:23 +01:00
session-lock.c Chase wlroots: use output commit event state 2023-11-27 21:01:53 +00:00
snap-constraints.c snap: cache and ignore last-snapped edge when growing or shrinking 2024-04-10 23:30:28 +01:00
snap.c snap: cache and ignore last-snapped edge when growing or shrinking 2024-04-10 23:30:28 +01:00
tearing.c Add tearing support (#1390) 2024-01-08 20:58:58 +00:00
theme.c ssd: add window drop-shadows (#1648) 2024-04-22 19:27:53 +01:00
view-impl-common.c Remove headers not being used directly 2023-12-22 20:19:39 +00:00
view.c window-rules: implement type filter 2024-04-20 15:29:41 +02:00
window-rules.c window-rules: add ignoreConfigureRequest 2024-04-21 20:31:55 +01:00
workspaces.c workspaces: react to Reconfigure 2024-04-22 05:44:52 +09:00
xdg-popup.c src/xdg-popup.c: unconstrain popup within usable area 2024-03-19 10:20:03 +01:00
xdg.c Fix pid lookup for the Kill action 2024-04-22 19:11:57 +01:00
xwayland-unmanaged.c xwayland: remove "try to focus on parent surface" logic 2024-03-05 20:51:32 +00:00
xwayland.c Fix pid lookup for the Kill action 2024-04-22 19:11:57 +01:00