1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-06-17 16:05:25 +02:00

wmaker: restore atom indices broken by _WINDOWMAKER_MARK_KEY insertion

The vim-like window marking change inserted "_WINDOWMAKER_MARK_KEY" at
atomNames[17] and appended wmaker.mark_key = atom[22], but did not shift
the existing atom[17..21] assignments. Since then gnustep.wm_attr,
gnustep.wm_miniaturize_window, gnustep.titlebar_state,
desktop.gtk_object_path, wm.ignore_focus_events and wmaker.mark_key have
each held the atom for the next name in the table, breaking GNUstep
window-level/titlebar/miniaturize handling, the GTK object-path skip,
WM_IGNORE_FOCUS_EVENTS and the mark feature itself.

Move the new name to the end of atomNames[] so positions 17..22 line up
with their assignments again.
This commit is contained in:
David Maciejak
2026-06-05 20:13:15 -04:00
committed by Carlos R. Mafra
parent aa7287efbf
commit 3562ce9d7b
+3 -2
View File
@@ -387,7 +387,6 @@ static char *atomNames[] = {
"_WINDOWMAKER_COMMAND",
"_WINDOWMAKER_ICON_SIZE",
"_WINDOWMAKER_ICON_TILE",
"_WINDOWMAKER_MARK_KEY",
GNUSTEP_WM_ATTR_NAME,
GNUSTEP_WM_MINIATURIZE_WINDOW,
@@ -395,7 +394,9 @@ static char *atomNames[] = {
"_GTK_APPLICATION_OBJECT_PATH",
"WM_IGNORE_FOCUS_EVENTS"
"WM_IGNORE_FOCUS_EVENTS",
"_WINDOWMAKER_MARK_KEY"
};
/*