On Fri, Nov  4, 2011 at 13:41:02 -0400, Brenda J. Butler wrote:

> 
> Coming back to this - I see that the command line will be printed out
> if a debug flag is set - how do I set it?
> 
> in ddxList.c on lines 206-207:
> 
>         if (xkbDebugFlags)
>             DebugF("[xkb] xkbList executes: %s\n",buf);
> 
> How can I set xbkDebugFlags?  I'd like to try the exact invocation
> at the command line to see what happens.
> 

#include <X11/Xlib.h>
#include <X11/XKBlib.h>

int main() {
        Display *dpy = XOpenDisplay(NULL);

        if (!dpy)
                return 1;

        return XkbSetDebuggingFlags(dpy, 1, 1, NULL, 0, 0, NULL, NULL) != True;
}

(link with -lX11)

Did I mention XKB was made of crazy?

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to