cursor/arrow keys not working in gtkfb



I am using gtk+1.3.13 (my vendor has not upgraded to 1.3.15 yet, they
are in "deep freeze" for the next product release).

Anyway, I have written a small app with a single clist in a window.  I
put items in the clist and I can browse the clist perfectly fine with
the cursor/arrow keys using up and down to move up and down the list.
I hit space to select the line in the clist I want.

This works perfectly fine with gtk+-x11-2.0, however if I relink
against the linux-fb version of the library, the arrow/cursor keys
don't work.  The space bar works fine still, but no arrows.

Here is a partial strace of a gtkfb app with my pressing UP, DOWN,
LEFT and RIGHT respectively:

20771 poll([{fd=4, events=POLLIN, revents=POLLIN}, {fd=6, events=POLLIN}], 2, -1) = 1
20771 read(4, "l", 128)                 = 1
20771 poll([{fd=4, events=POLLIN, revents=POLLIN}, {fd=6, events=POLLIN}], 2, -1) = 1
20771 read(4, "\354", 128)              = 1
20771 poll([{fd=4, events=POLLIN, revents=POLLIN}, {fd=6, events=POLLIN}], 2, -1) = 1
20771 read(4, "g", 128)                 = 1
20771 poll([{fd=4, events=POLLIN, revents=POLLIN}, {fd=6, events=POLLIN}], 2, -1) = 1
20771 read(4, "\347", 128)              = 1
20771 poll([{fd=4, events=POLLIN, revents=POLLIN}, {fd=6, events=POLLIN}], 2, -1) = 1
20771 read(4, "i", 128)                 = 1
20771 poll([{fd=4, events=POLLIN, revents=POLLIN}, {fd=6, events=POLLIN}], 2, -1) = 1
20771 read(4, "\351", 128)              = 1
20771 poll([{fd=4, events=POLLIN, revents=POLLIN}, {fd=6, events=POLLIN}], 2, -1) = 1
20771 read(4, "j", 128)                 = 1
20771 poll([{fd=4, events=POLLIN, revents=POLLIN}, {fd=6, events=POLLIN}], 2, -1) = 1
20771 read(4, "\352", 128)              = 1
20771 poll([{fd=4, events=POLLIN, revents=POLLIN}, {fd=6, events=POLLIN}], 2, -1) = 1
20771 read(4, "F", 128)                 = 1
20771 poll([{fd=4, events=POLLIN, revents=POLLIN}, {fd=6, events=POLLIN}], 2, -1) = 1
20771 read(4, "\306", 128)              = 1
20771 poll([{fd=4, events=POLLIN, revents=POLLIN}, {fd=6, events=POLLIN}], 2, -1) = 1
20771 read(4, "F", 128)                 = 1
20771 poll([{fd=4, events=POLLIN, revents=POLLIN}, {fd=6, events=POLLIN}], 2, -1) = 1
20771 read(4, "\306", 128)              = 1

Any thots or ideas?

On a kind of related note, is there an lirc input module for gtkfb
(yet)?  That would be sweet.  :-)

b.

-- 
Brian J. Murrell

Attachment: pgpfjblrYpmMO.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]