Skip to content

Commit 03d7e86

Browse files
committed
Workspace: don't update Workspace owned icons - should fix issue #469.
1 parent f4d546e commit 03d7e86

File tree

1 file changed

+3
-0
lines changed
  • Applications/Workspace/WM

1 file changed

+3
-0
lines changed

Applications/Workspace/WM/icon.c

+3
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ static void _iconSettingsObserver(CFNotificationCenterRef center,
118118
* stuff */
119119
XClearArea(dpy, icon->core->window, 0, 0, icon->core->width, icon->core->height, True);
120120
} else if (CFStringCompare(name, WMDidChangeIconTileSettings, 0) == 0) {
121+
if (icon->owner && icon->owner->wm_instance && !strcmp(icon->owner->wm_instance, "Workspace")) {
122+
return;
123+
}
121124
update_icon_pixmap(icon);
122125
XClearArea(dpy, icon->core->window, 0, 0, 1, 1, True);
123126
}

0 commit comments

Comments
 (0)