summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2011-06-21 18:01:42 +0100
committerSergey V. Udaltsov <svu@gnome.org>2011-06-28 22:40:48 +0100
commitea08c776d2850f6345c4665d36d492416d540fed (patch)
tree8733f44fd4d021109776620d153de79de77b633a
parente0e41912718edb40d0f4296c61c0d4b8be0ce731 (diff)
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>
-rw-r--r--compat/xfree867
1 files changed, 7 insertions, 0 deletions
diff --git a/compat/xfree86 b/compat/xfree86
index e08b0db2..cf4a8b22 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");
};