1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

- removed the collapse appicons thing

- added real appicon sharing (apps of the same kind will have a single
  shared appicon).
This commit is contained in:
dan
2001-12-17 04:02:33 +00:00
parent 739fd1a567
commit 672c42cc48
19 changed files with 251 additions and 346 deletions

View File

@@ -436,7 +436,11 @@ wClientCheckProperty(WWindow *wwin, XPropertyEvent *event)
i = 0;
}
}
if (wwin->fake_group!=NULL) {
i = 7;
}
if (wwin->wm_hints)
XFree(wwin->wm_hints);
@@ -475,7 +479,10 @@ wClientCheckProperty(WWindow *wwin, XPropertyEvent *event)
wwin->group_id = wwin->main_window;
wApplicationCreate(wwin->screen_ptr, wwin->main_window);
break;
}
/* 7 - we have a fake window group id, so just ignore anything else */
case 7:
break;
}
#ifdef DEBUG
if (i) {
printf("window leader update caused state transition %i\n",i);
@@ -504,8 +511,10 @@ wClientCheckProperty(WWindow *wwin, XPropertyEvent *event)
wwin->flags.urgent = 1;
else
wwin->flags.urgent = 0;
} else {
wwin->group_id = None;
} else if (wwin->fake_group!=NULL) {
wwin->group_id = wwin->fake_group->window;
} else {
wwin->group_id = None;
}
break;