mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 21:38:00 +01:00
Fix session saving for apps with shared appicons
This patch comes from http://git.altlinux.org/people/raorn/packages/WindowMaker.git
This commit is contained in:
committed by
Carlos R. Mafra
parent
8efc490361
commit
62bf6d17b5
@@ -312,7 +312,8 @@ void wSessionSaveState(WScreen * scr)
|
||||
Window appId = wwin->orig_main_window;
|
||||
|
||||
if ((wwin->transient_for == None || wwin->transient_for == wwin->screen_ptr->root_win)
|
||||
&& WMGetFirstInArray(wapp_list, (void *)appId) == WANotFound
|
||||
&& (WMGetFirstInArray(wapp_list, (void *)appId) == WANotFound
|
||||
|| WFLAGP(wwin, shared_appicon))
|
||||
&& !WFLAGP(wwin, dont_save_session)) {
|
||||
/* A entry for this application was not yet saved. Save one. */
|
||||
if ((win_info = makeWindowState(wwin, wapp)) != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user