mirror of
https://github.com/gryf/wmaker.git
synced 2026-04-29 03:54:06 +02:00
Compare commits
1 Commits
5b631cad93
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 931186bd18 |
@@ -146,6 +146,10 @@ WAppIcon *wAppIconCreateForDock(WScreen *scr, const char *command, const char *w
|
||||
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user