mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 00:50:34 +02:00
Fixed a bug with the new compile time option for window numbers
This commit is contained in:
1 parent
3b00e8acaa
commit
8a6afcdcf6
1 file changed
+5
-1
+5
-1
@@ -1790,7 +1790,7 @@ wWindowUpdateName(WWindow *wwin, char *newTitle)
|
||||
title = newTitle;
|
||||
}
|
||||
|
||||
#ifdef NO_WINDOW_ENUMERATOR
|
||||
#ifndef NO_WINDOW_ENUMERATOR
|
||||
if (instIndex > 0) {
|
||||
sprintf(prefix, " [%i]", instIndex);
|
||||
|
||||
@@ -1805,8 +1805,12 @@ wWindowUpdateName(WWindow *wwin, char *newTitle)
|
||||
wKWMSendEventMessage(wwin, WKWMChangedClient);
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifndef NO_WINDOW_ENUMERATOR
|
||||
if (instIndex > 0)
|
||||
wfree(title);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user