From ea08c776d2850f6345c4665d36d492416d540fed Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 21 Jun 2011 18:01:42 +0100 Subject: [PATCH] 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 --- compat/xfree86 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/compat/xfree86 b/compat/xfree86 index e08b0db..cf4a8b2 100644 --- a/compat/xfree86 +++ b/compat/xfree86 @@ -47,6 +47,13 @@ default partial xkb_compatibility "basic" { interpret XF86_ClearGrab { action = Private(type=0x86, data="ClsGrb"); }; + interpret XF86LogGrabInfo { + action = Private(type=0x86, data="PrGrbs"); + }; + interpret XF86LogWindowTree { + action = Private(type=0x86, data="PrWins"); + }; + interpret XF86_Next_VMode { action = Private(type=0x86, data="+VMode"); }; -- 2.7.4