[PATCH] wmaker: restore atom indices broken by _WINDOWMAKER_MARK_KEY insertion

0 views
Skip to first unread message

david.m...@gmail.com

unread,
5:48 PM (2 hours ago) 5:48 PM
to Window Maker Development
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"
 };
 
 /*
--
2.43.0
0001-wmaker-restore-atom-indices-broken-by-_WINDOWMAKER_M.patch
Reply all
Reply to author
Forward
0 new messages