summaryrefslogtreecommitdiff
path: root/src/core/iconcache.h
AgeCommit message (Collapse)AuthorFilesLines
2023-03-07iconcache: Read icons into cairo surfacesVictor Kareh1-10/+11
We internally read icons as cairo surfaces before converting them to GdkPixbuf. This will allow us to eventually delete a lot of GdkPixbuf manipulation and simplify the drawing codepath.
2023-03-07iconcache: replace width and height with size in read_iconsVictor Kareh1-4/+2
meta_read_icons is used in MetaWindow. In it ideal_width and ideal_height have same value - default icon size. Same with ideal_mini_width and ideal_mini_height. Simplify function by replacing width and height parameters with size parameter. Adapted from https://gitlab.gnome.org/GNOME/libwnck/-/commit/c1460f79
2021-06-04iconcache: Use GDesktopAppInfo to find correct application iconsVictor Kareh1-0/+1
Some files do not report their application icons correctly in the window properties. This patch allows the marco UI to search for the corresponding .desktop file and render the icon in the desktop info on both the alt-tab popup and the window mini-icon.
2020-08-04Remove multiple empty linesrbuj1-3/+0
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 'N;/^\n$/D;P;D;' {} \;
2019-04-23reload icons if icon size preference changedosch1-0/+5
2014-06-26Remove all trailing whitespaces in the code treeJoaquín Ignacio Aramendía1-3/+3
Just run: $ find -name '*.c' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i $ find -name '*.h' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+79