summaryrefslogtreecommitdiff
path: root/applets/wncklet/wayland-backend.c
AgeCommit message (Collapse)AuthorFilesLines
2023-07-31wayland-tasklist: really set maximum label widthlukefromdc1-1/+4
*Otherwise taskbuttons for programs using URLs or filenames in the window name can balloon across the whole taskbar
2023-07-28wayland tasklist: fit buttons to tasklist, limit button size, hide contents ↵lukefromdc1-5/+237
as necessary *Empty space between buttons removed *padding in buttons similar to x11 *Vertical panel: do not modify buttons, they just plain work! *We have a working window list on vertical panels in wayland only *Horizontal panels: *expand buttons like in X11 until more expanded buttons won't fit *When expanded buttons won't fit, resize buttons to fit tasklist *When ellipsized text plus icon won't fit, remove the label *When one more button with icon won't fit, remove the icon *but bring back the (compressable) label as in x11. *Prevents window list buttons disappearing when theme does not set a border
2023-07-20Wayland: ensure tasklist buttons get widget namelukefromdc1-0/+1
*we need this for theming
2023-07-20wayland: stop tasklist overflowing over other appletslukefromdc1-6/+3
*allows up to 20 window buttons on a half screen width window list before overflow
2023-05-17applets/wncklet/wayland-backend: Add basic icon support (#1275)Consolatis1-2/+31
* applets/wncklet/wayland-backend: add basic icon support This commit uses GTK to find an icon with the same name as the wayland app_id. A more complete implementation would need to search for .desktop files matching the app_id, get the icon name and finally use GTK to find the proper icon based on that name. * applets/wncklet/wayland-backend: add more complete icon support * applets/wncklet/wayland-backend: code style fixup
2023-05-17applets/wncklet/wayland-backend: Add basic context menu (#1276)Consolatis1-5/+110
* applets/wncklet/wayland-backend: Add basic context menu for (un)maximize, (un)minimize and close * applets/wncklet/wayland-backend: code style fixup
2021-12-20Remove unnecessary cast in g_signal_connect* callrbuj1-2/+1
2021-12-11Use a blank line at mostrbuj1-1/+0
2020-11-20wncklet: function declaration isn't a prototyperbuj1-3/+2
2020-10-21Suppress applet's default context menu for window buttonsWilliam Wold1-0/+21
2020-10-21Switch to C-style comments as requestedWilliam Wold1-5/+5
2020-10-21Don't crash if shell doesn't support foreign toplevelWilliam Wold1-0/+1
2020-10-21Window list Wayland supportWilliam Wold1-0/+366