Compat: Add grab/window logging actions
authorDaniel Stone <daniel@fooishbar.org>
Tue, 21 Jun 2011 17:01:42 +0000 (18:01 +0100)
committerSergey V. Udaltsov <svu@gnome.org>
Tue, 28 Jun 2011 21:40:48 +0000 (22:40 +0100)
commitea08c776d2850f6345c4665d36d492416d540fed
tree8733f44fd4d021109776620d153de79de77b633a
parente0e41912718edb40d0f4296c61c0d4b8be0ce731
Compat: Add grab/window logging actions

XF86LogWindowTree and XF86LogGrabInfo, included in very recent x11proto,
are new symbols to trigger the PrGrbs and PrWins actions, respectively.
These are new debugging actions which print useful information to the X
log.

See http://lists.x.org/archives/xorg-devel/2011-June/023314.html for
more information.  (Note that there is a slight mismatch with some of
the action names there, which was fixed in a later revision of the
patch.)

This should probably only be included in a new major release though, due
to http://cgit.freedesktop.org/xorg/app/xkbcomp/commit/?id=2a473b which
meant that using any unknown keysyms in an interp definition meant that
it turned into an Any+AnyOfOrNone(All) definition, so all your
non-action keys just dumped the window tree to the X log and did nothing
else.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
compat/xfree86