Re: gEDA-user: PCB captures 'Mod4/Windows' key
Peter Clifton wrote: On Mon, 2008-10-13 at 11:01 -0700, [EMAIL PROTECTED] wrote: I've looked into code and have a hackish solution, which is to simply ignore unknown keysyms. --- a/src/hid/gtk/gui-output-events.c2008-10-13 10:40:20.0 -0700 +++ b/src/hid/gtk/gui-output-events.c2008-10-13 10:39:47.0 -0700 @@ -506,9 +506,6 @@ } - if (handled == FALSE) -gui-log (keysym %d (0x%x) has not been defined\n, ksym, ksym); - return handled; } I did roughly the same when I built PCB for installation on our Engineering Department network. Unless anyone is particularly attached to this irritating message, I'd suggest we remove it completely. won't hurt my feelings if it goes away completely. -Dan ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB captures 'Mod4/Windows' key
On Mon, 2008-10-20 at 11:48 -0400, Dan McMahill wrote: - if (handled == FALSE) -gui-log (keysym %d (0x%x) has not been defined\n, ksym, ksym); Unless anyone is particularly attached to this irritating message, I'd suggest we remove it completely. won't hurt my feelings if it goes away completely. Excellent.. it's now gone. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: PCB captures 'Mod4/Windows' key
I'm new to gEDA PCB etc. I use archlinux + awesome window manager which I have configured to rely heavily on the Mod4, also known as 'Windows' key, but regardless I think this is an annoyance no matter the WM environment. Whenever I press a modifier + key combination _not_ used by PCB, it opens the 'PCB Log' window, and switches focus to it. For a tiling WM this means it rearranges everything else on the desktop im working in and is otherwise a real PITA. I've looked into code and have a hackish solution, which is to simply ignore unknown keysyms. --- a/src/hid/gtk/gui-output-events.c 2008-10-13 10:40:20.0 -0700 +++ b/src/hid/gtk/gui-output-events.c 2008-10-13 10:39:47.0 -0700 @@ -506,9 +506,6 @@ } - if (handled == FALSE) -gui-log (keysym %d (0x%x) has not been defined\n, ksym, ksym); - return handled; } but this is very lame, Id rather have it log without triggering an event. I assume there is already a function to append a string to the pcb log without causing a popup? anyone can shed light on this I'd very much appreciate it. Maybe there is a way to solve this with a pcbrc or something? ty, perry ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB captures 'Mod4/Windows' key
On Mon, 2008-10-13 at 11:01 -0700, [EMAIL PROTECTED] wrote: I've looked into code and have a hackish solution, which is to simply ignore unknown keysyms. --- a/src/hid/gtk/gui-output-events.c 2008-10-13 10:40:20.0 -0700 +++ b/src/hid/gtk/gui-output-events.c 2008-10-13 10:39:47.0 -0700 @@ -506,9 +506,6 @@ } - if (handled == FALSE) -gui-log (keysym %d (0x%x) has not been defined\n, ksym, ksym); - return handled; } I did roughly the same when I built PCB for installation on our Engineering Department network. Unless anyone is particularly attached to this irritating message, I'd suggest we remove it completely. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user