xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 9 years ago

Last modified 6 months ago

#149 closed defect

use XkbKeycodeToKeysym instead of XKeycodeToKeysym (deprecation) — at Version 1

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: trivial Milestone: 0.8
Component: core Version: trunk
Keywords: keyboard Cc:

Description (last modified by Antoine Martin)

We get these warnings:

/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
wimpiggy/lowlevel/bindings.c: In function '__pyx_f_8wimpiggy_8lowlevel_8bindings_KeysymToKeycodes':
wimpiggy/lowlevel/bindings.c:10353:7: warning: 'XKeycodeToKeysym' is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Wdeprecated-declarations]
wimpiggy/lowlevel/bindings.c: In function '__pyx_f_8wimpiggy_8lowlevel_8bindings__get_modifier_mappings':
wimpiggy/lowlevel/bindings.c:11494:9: warning: 'XKeycodeToKeysym' is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Wdeprecated-declarations]
wimpiggy/lowlevel/bindings.c: In function '__pyx_pf_8wimpiggy_8lowlevel_8bindings_68get_keycodes_down':
wimpiggy/lowlevel/bindings.c:12712:5: warning: 'XKeycodeToKeysym' is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Wdeprecated-declarations]

See freedesktop.org bug 5349 and freedesktop.org bug 25732

Together with the fix in 108#comment:12, this should fix most keyboard related issues?

Change History (1)

comment:1 Changed 9 years ago by Antoine Martin

Description: modified (diff)
Status: newaccepted
Note: See TracTickets for help on using tickets.