summaryrefslogtreecommitdiff
path: root/src/core/iconcache.c
Commit message (Collapse)AuthorAgeFilesLines
* icon-cache: reset origin if property change invalidates iconAlberts Muktupāvels2022-03-221-11/+16
| | | | | | | | Client theoretically can unset / remove icon. We need to reset origin to make sure we try to load icon from other sources. Test application that can be used to set/unset icons: https://gitlab.gnome.org/GNOME/libwnck/-/merge_requests/42
* icon-cache: make get_icon_invalidated staticAlberts Muktupāvels2022-03-221-1/+1
|
* icon-cache: remove support for KWM_WIN_ICONAlberts Muktupāvels2022-03-191-84/+2
| | | | | According to Debian Code Search only MPlayer sets this property (together with _NET_WM_ICON).
* iconcache: remove dead codeAlberts Muktupāvels2020-03-261-34/+5
| | | | | Based on mutter commit: https://gitlab.gnome.org/GNOME/mutter/-/commit/92388892b3d93e59f053
* iconcache: remove want_fallbackAlberts Muktupāvels2020-03-261-17/+2
| | | | It is always TRUE.
* iconcache: simplify ideal size handlingAlberts Muktupāvels2020-03-261-70/+82
| | | | | ideal_width and ideal_height has always same value, same with ideal_mini_width and ideal_mini_height.
* iconcache: remove commented out codeAlberts Muktupāvels2020-03-261-43/+0
|
* iconcache: don't check if ideal size is 0 or lessAlberts Muktupāvels2020-03-261-49/+4
| | | | | meta_read_icons is always used with constant size that is larger then zero.
* errors: simplify codeAlberts Muktupāvels2016-05-251-5/+5
|
* iconcache: don't crash on a non-alpha mask pixmapOwen W. Taylor2016-05-231-4/+5
| | | | | | | We assume when applying a mask that it is a depth-1 pixmap that cairo interprets as alpha. So ignore a non-depth-1 mask. https://bugzilla.gnome.org/show_bug.cgi?id=641975
* iconcache: Correctly interpret monochrome iconsOwen W. Taylor2016-05-231-2/+42
| | | | | | | | Getting the contents of a depth-1 pixmap through cairo gives us an alpha pixmap. We need to convert to a monochrome pixmap as is expected by the ICCCM definition of WM_HINTS. https://bugzilla.gnome.org/show_bug.cgi?id=641975
* iconcache: Fix apply_maskJasper St. Pierre2016-05-231-8/+2
| | | | | | | | apply_mask made some wrong assumptions that became untrue after rendering_cleanup landed, such as the number of channels in the pixmap, causing corruption. https://bugzilla.gnome.org/show_bug.cgi?id=641975
* remove trailing whitespaceAlberts Muktupāvels2014-10-051-11/+11
|
* Build with gtk+-3.0Alberts Muktupāvels2014-06-031-6/+4
| | | | | | Most changes are copied from mutter 3.4.0. So thanks to mutter developers! They done all hard work. This patch also removes unused functions.
* Updated FSF's addressDaniel Mustieles2014-01-231-3/+1
|
* patches to fixes for -Wall. Closes #562939.Thomas James Alexander Thurman2008-12-021-2/+5
| | | | | | | * src/core/iconcache.c: patches to fixes for -Wall. Closes #562939. svn path=/trunk/; revision=4049
* gnome-doc-tools version doesn't need to be so high. disable the entireThomas James Alexander Thurman2008-12-011-7/+8
| | | | | | | | | | | | | * configure.in: gnome-doc-tools version doesn't need to be so high. * src/compositor/compositor-xrender.c: disable the entire file if the compositor is disabled. * src/core/async-getprop.[ch]: fixes for -Wall * src/core/iconcache.c: fixes for -Wall * src/core/testasyncgetprop.c: fixes for -Wall * src/core/xprops.c: fixes for -Wall svn path=/trunk/; revision=4045
* Since Patrick Niklaus's checkin of 2008-08-14 dealt with windows with noThomas Thurman2008-10-151-23/+7
| | | | | | | | | | | | | | | | 2008-10-15 Thomas Thurman <tthurman@gnome.org> Since Patrick Niklaus's checkin of 2008-08-14 dealt with windows with no icons not using fallback icons, we don't need fallback icons. * src/ui/theme.h: remove fallback icons from struct. * src/core/iconcache.c (meta_read_icons): don't look for fallbacks. * src/*/ui.[ch] (meta_ui_get_fallback_icons): removed * src/ui/theme-parser.c (typedef, parse_toplevel_element): don't parse fallback specifications. svn path=/trunk/; revision=3958
* All information should live in exactly one place. This means that the listThomas Thurman2008-05-021-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-02 Thomas Thurman <tthurman@gnome.org> All information should live in exactly one place. This means that the list of atoms should not be replicated anywhere. Therefore, we include it via x-macros. Closes #530843. * src/core/atomnames.h: added list of atom names * src/Makefile.am: added reference to new file * src/core/display.h * src/core/display.c (twice) * src/core/screen.c: #included atomnames.h instead of having an enormous list of atoms * src/core/group-props.c * src/core/window.c * src/core/compositor.c * src/core/window-props.c * src/core/delete.c * src/core/workspace.c * src/core/stack.c * src/core/keybindings.c * src/core/iconcache.c * src/core/group.c * src/core/xprops.c: changed to new, simpler identifiers for atoms svn path=/trunk/; revision=3702
* fix a third warning about %d and long intHavoc Pennington2007-12-191-13/+14
| | | | | | | | | | | | | | | | | | | | | 2007-12-19 Havoc Pennington <hp@redhat.com> * src/core/display.c (meta_display_open): fix a third warning about %d and long int * src/core/delete.c (io_from_ping_dialog): fix another warning about long int to %d * src/core/compositor.c (meta_compositor_new): fix a warning about long int to %d * src/core/iconcache.c (meta_read_icons): use meta_ui_get_fallback_icons() instead of incorrectly including theme.h * src/ui/ui.c (meta_ui_get_fallback_icons): new function svn path=/trunk/; revision=3492
* sort source files into these directories according to which part of the WMHavoc Pennington2007-12-191-0/+860
2007-12-19 Havoc Pennington <hp@redhat.com> * src/ui, src/core, src/include: sort source files into these directories according to which part of the WM they are supposed to be in. In an eventual plan, we should also create src/compositor/render, src/compositor/fallback and move some of the compositor stuff into that. * autogen.sh: require a newer automake, so we don't have to use a recursive build * src/ui/tabpopup.c: put in a hack to make the build temporarily work, want to commit the large rearrangement before fixing this not to include workspace.h or frame.h * src/core/iconcache.c (meta_read_icons): temporarily break this to get the build to work, want to commit the large rearrangement before fixing this file not to include theme.h svn path=/trunk/; revision=3491