mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 21:08:08 +01:00
added option to disable window enumeration
This commit is contained in:
@@ -218,6 +218,9 @@
|
|||||||
#undef DEFINABLE_CURSOR
|
#undef DEFINABLE_CURSOR
|
||||||
|
|
||||||
|
|
||||||
|
#undef NO_WINDOW_ENUMERATOR
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*--------------------------------------------------------------------
|
*--------------------------------------------------------------------
|
||||||
* Default Configuration
|
* Default Configuration
|
||||||
@@ -580,12 +583,13 @@
|
|||||||
#ifdef XKB_MODELOCK
|
#ifdef XKB_MODELOCK
|
||||||
#define KEEP_XKB_LOCK_STATUS
|
#define KEEP_XKB_LOCK_STATUS
|
||||||
/* This is a hidden feature.
|
/* This is a hidden feature.
|
||||||
* choose one between 2 of these hints. Icon can be changed
|
* Choose just one of LANGUAGE_* hints.
|
||||||
* in def_pixmaps.h and default icon is now for Thai language only.
|
* Icon can be changed in def_pixmaps.h.
|
||||||
* More icons are welcome.
|
* More icons are welcome.
|
||||||
*/
|
*/
|
||||||
#define XKB_BUTTON_HINT
|
#define XKB_BUTTON_HINT
|
||||||
#undef LANGUAGE_TH
|
#undef LANGUAGE_TH
|
||||||
|
#undef LANGUAGE_SK
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DEMATERIALIZE_ICON
|
#ifndef DEMATERIALIZE_ICON
|
||||||
|
|||||||
@@ -1790,11 +1790,13 @@ wWindowUpdateName(WWindow *wwin, char *newTitle)
|
|||||||
title = newTitle;
|
title = newTitle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NO_WINDOW_ENUMERATOR
|
||||||
if (instIndex > 0) {
|
if (instIndex > 0) {
|
||||||
sprintf(prefix, " [%i]", instIndex);
|
sprintf(prefix, " [%i]", instIndex);
|
||||||
|
|
||||||
title = wstrconcat(title, prefix);
|
title = wstrconcat(title, prefix);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (wFrameWindowChangeTitle(wwin->frame, title)) {
|
if (wFrameWindowChangeTitle(wwin->frame, title)) {
|
||||||
/* only update the menu if the title has actually changed */
|
/* only update the menu if the title has actually changed */
|
||||||
|
|||||||
Reference in New Issue
Block a user