aboutsummaryrefslogtreecommitdiffstats
path: root/tools/process-x11-xcb.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/process-x11-xcb.pl')
-rwxr-xr-xtools/process-x11-xcb.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/process-x11-xcb.pl b/tools/process-x11-xcb.pl
index 07c8e4bd2b..fede9353ac 100755
--- a/tools/process-x11-xcb.pl
+++ b/tools/process-x11-xcb.pl
@@ -998,7 +998,10 @@ sub struct {
}
}
when ('field') { }
- when ('switch') { } # New field in xcbproto/src/xinput.xml
+ when ('switch') {
+ $dynamic = 1;
+ next;
+ }
default { die("unrecognized field: $_\n"); }
}