diff options
Diffstat (limited to 'src/iconcache.h')
-rw-r--r-- | src/iconcache.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/iconcache.h b/src/iconcache.h index 1cb73a65..7a2ad7f3 100644 --- a/src/iconcache.h +++ b/src/iconcache.h @@ -28,6 +28,19 @@ typedef struct _MetaIconCache MetaIconCache; +typedef enum +{ + /* These MUST be in ascending order of preference; + * i.e. if we get _NET_WM_ICON and already have + * WM_HINTS, we prefer _NET_WM_ICON + */ + USING_NO_ICON, + USING_FALLBACK_ICON, + USING_KWM_WIN_ICON, + USING_WM_HINTS, + USING_NET_WM_ICON +} IconOrigin; + struct _MetaIconCache { int origin; |