From 3562ce9d7b764a1cbc117163c2f22a8283326a6a Mon Sep 17 00:00:00 2001 From: David Maciejak Date: Fri, 5 Jun 2026 20:13:15 -0400 Subject: [PATCH] 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. --- src/startup.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/startup.c b/src/startup.c index b0e676b2..85830971 100644 --- a/src/startup.c +++ b/src/startup.c @@ -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" }; /*