[repo.or.cz] wmaker-crm.git branch master updated: wmaker-0.96.0-74-gae050ceb40fc

1 view
Skip to first unread message

crmafra

unread,
Mar 13, 2026, 9:41:31 AM (4 days ago) Mar 13
to wmake...@googlegroups.com
This is an automated email generated because a ref change occurred in the
git repository for project wmaker-crm.git.

The branch, master has been updated
via ae050ceb40fc9885bd6faaa33092b2bdb7d58d21 (commit)
from b27b44db7246fbb2111051962a8f67b2ef47d63b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ae050ceb40fc9885bd6faaa33092b2bdb7d58d21
Author: Roman Dobosz <gry...@gmail.com>
Date: Thu, 12 Mar 2026 15:59:56 +0100
URL: <https://repo.or.cz/wmaker-crm.git/ae050ceb40fc9885>

Respect user defined icons.

Currently, when switchpanel is invoked (usually by alt-tab), icons are
taken with the order from higher priority to lower:

* appicon
* user defined icon
* net_icon
* default icon

Using appicon, when no net_icon nor user icon is defined is good,
although it will provide another confusion with user defined icons,
which will be ignored for all apps which provide appicons. With this
patch order of selecting icon for an app is:

* user defined icon
* appicon
* net_icon
* default icon

Note, that even, if there is icon defined for certain application,
usually it need to have "Ignore client supplied icon" checkbox ticked,
especially for the apps like Firefox.
---
src/switchpanel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/switchpanel.c b/src/switchpanel.c
index d11d4e45ea1b..af6de524adab 100644
--- a/src/switchpanel.c
+++ b/src/switchpanel.c
@@ -193,9 +193,9 @@ static void addIconForWindow(WSwitchPanel *panel, WMWidget *parent, WWindow *wwi
WMMoveWidget(icon, x, y);

wapp = wApplicationOf(wwin->main_window);
- if (wapp && wapp->app_icon && wapp->app_icon->icon && wapp->app_icon->icon->file_image) {
+ if (!WFLAGP(wwin, always_user_icon) && wapp && wapp->app_icon &&
+ wapp->app_icon->icon && wapp->app_icon->icon->file_image)
image = RRetainImage(wapp->app_icon->icon->file_image);
- }

if (!image && !WFLAGP(wwin, always_user_icon) && wwin->net_icon_image)
image = RRetainImage(wwin->net_icon_image);

-----------------------------------------------------------------------

Summary of changes:
src/switchpanel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


repo.or.cz automatic notification. Contact project admin crm...@gmail.com
if you want to unsubscribe, or site admin ad...@repo.or.cz if you receive
no reply.
--
wmaker-crm.git ("The Window Maker window manager")
Reply all
Reply to author
Forward
0 new messages