[PATCH] wmaker: prevent transient windows to create an appicon
4 views
Skip to first unread message
david.m...@gmail.com
unread,
Apr 14, 2026, 12:26:20 PMApr 14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Window Maker Development
This patch is preventing transient windows which are defined as short-lived window that "belongs" to a main application window to create their own appicon. Some applications are not creating an appicon but are getting default appicon for their popup windows which can only disappear when wmaker is restarted. --- src/appicon.c | 4 ++++ 1 file changed, 4 insertions(+)
void create_appicon_for_application(WApplication *wapp, WWindow *wwin) { +/* Transient windows should never get their own appicon */ +if (wwin->transient_for != None && wwin->transient_for != wwin->screen_ptr->root_win) +return; + /* Try to create an icon from the dock or clip */ create_appicon_from_dock(wwin, wapp, wapp->main_window);