mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
added option to disable window enumeration
This commit is contained in:
@@ -1790,11 +1790,13 @@ wWindowUpdateName(WWindow *wwin, char *newTitle)
|
||||
title = newTitle;
|
||||
}
|
||||
|
||||
#ifdef NO_WINDOW_ENUMERATOR
|
||||
if (instIndex > 0) {
|
||||
sprintf(prefix, " [%i]", instIndex);
|
||||
|
||||
title = wstrconcat(title, prefix);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (wFrameWindowChangeTitle(wwin->frame, title)) {
|
||||
/* only update the menu if the title has actually changed */
|
||||
|
||||
Reference in New Issue
Block a user