1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-10 18:45:47 +01:00

- Fixed problem with unhiding taht mapped windows from other workspaces

on the current workspace.
- Made apps with an application menu not to use a shared appicon.
This commit is contained in:
dan
2001-12-18 16:10:07 +00:00
parent c8b3933c19
commit 6f28d987a8
5 changed files with 30 additions and 13 deletions

View File

@@ -793,13 +793,23 @@ wManageWindow(WScreen *scr, Window window)
}
#endif /* OLWM_HINTS */
/* Make broken apps behave as a nice app. */
if (WFLAGP(wwin, emulate_appicon)) {
wwin->main_window = wwin->client_win;
}
if (wwin->flags.is_gnustep) {
WSETUFLAG(wwin, shared_appicon, 0);
}
/* Make broken apps behave as a nice app. */
if (WFLAGP(wwin, emulate_appicon)) {
wwin->main_window = wwin->client_win;
{
extern Atom _XA_WINDOWMAKER_MENU;
XTextProperty text_prop;
if (XGetTextProperty(dpy, wwin->main_window, &text_prop,
_XA_WINDOWMAKER_MENU)) {
WSETUFLAG(wwin, shared_appicon, 0);
}
}
if (!withdraw && wwin->main_window && WFLAGP(wwin, shared_appicon)) {