Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
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
|
|
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.
|
|
find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 'N;/^\n$/D;P;D;' {} \;
|
|
|
|
Just run:
$ find -name '*.c' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
$ find -name '*.h' -print0 | xargs -r0 sed -e 's/[[:blank:]]\+$//' -i
|
|
|
|
|