From 07759535c2e9aac7b55c71d47cfcf6433fc90995 Mon Sep 17 00:00:00 2001 From: Eric Jiang Date: Sat, 31 Oct 2020 19:52:57 -0700 Subject: [PATCH] Remove xdo_t members that were removed upstream At some point the upstream xdotool removed the modmap and keymap members from the xdo struct, which breaks the ABI. The Debian maintainer wrote a patch to keep it in and preserve ABI compatibility. Since we are only dealing with the a pointer to an xdo_t, it should be OK to remove it and still have it work on Debian. --- xdo_build.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xdo_build.py b/xdo_build.py index f8e04d3..2e71dc1 100644 --- a/xdo_build.py +++ b/xdo_build.py @@ -88,12 +88,6 @@ typedef struct xdo { /** @internal Length of charcodes array */ int charcodes_len; - /** @internal UNUSED -- result from XGetModifierMapping */ - XModifierKeymap *modmap; - - /** @internal UNUSED -- current keyboard mapping (via XGetKeyboardMapping) */ - KeySym *keymap; - /** @internal highest keycode value */ int keycode_high; /* highest and lowest keycodes */