don't set the default icon on child windows, their parents will have an icon
This commit is contained in:
parent
51fdd13fd1
commit
e3b9c8b681
1 changed files with 5 additions and 2 deletions
|
@ -2084,8 +2084,11 @@ void client_update_icons(ObClient *self)
|
|||
/* set the default icon onto the window
|
||||
in theory, this could be a race, but if a window doesn't set an icon
|
||||
or removes it entirely, it's not very likely it is going to set one
|
||||
right away afterwards */
|
||||
if (self->nicons == 0) {
|
||||
right away afterwards
|
||||
|
||||
if it has parents, then one of them will have an icon already
|
||||
*/
|
||||
if (self->nicons == 0 && !self->parents) {
|
||||
RrPixel32 *icon = ob_rr_theme->def_win_icon;
|
||||
gulong *data;
|
||||
|
||||
|
|
Loading…
Reference in a new issue