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"); } }