Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented keybinder_set_avoid_cooking_shift_accelerators to fix Shift problems #10

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

darksylinc
Copy link

Implements keybinder_set_avoid_cooking_shift_accelerators for the master branch using GTK 2.0 (which has a similar behavior as keybinder-3.0 keybinder_set_use_cooked_accelerators). Enabled by default to make Shift modifiers work.

Included Python bindings to toggle this function.

bluss and others added 9 commits June 17, 2012 18:11
This fixes a failing make distcheck
Resources allocated by XkbGetMap() should be freed by XkbFreeKeyboard.
Otherwise I get the following leaked memory report from Valgrind:

==14972== 1,920 bytes in 48 blocks are definitely lost in loss record 1,598 of 1,626
==14972==    at 0x402C118: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==14972==    by 0x5064EA8: XkbGetMap (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==14972==    by 0x428019D: grab_ungrab (bind.c:203)
==14972==    by 0x4280320: do_grab_key (bind.c:326)
==14972==    by 0x4280721: keybinder_bind_full (bind.c:574)
==14972==    by 0x4280791: keybinder_bind (bind.c:539)
==14972==    by 0x8049220: xvd_keys_init (xvd_keys.c:141)
==14972==    by 0x8048F84: main (main.c:126)
This fixes two following warnings:

bind.c:496: Warning: Keybinder: GObject-Introspection specific GTK-Doc
tag "Rename to" has been deprecated, please use annotations on the
identifier instead:
 * Rename to: keybinder_bind
   ^
bind.c:570: Warning: Keybinder: GObject-Introspection specific GTK-Doc
tag "Rename to" has been deprecated, please use annotations on the
identifier instead:
 * Rename to: keybinder_unbind
   ^

Signed-off-by: Dmitry Eremin-Solenikov <[email protected]>
Fix the following warning:

note: pygtk-codegen-2.0 is deprecated, use pygobject-codegen-2.0 instead
note: I will now try to invoke pygobject-codegen-2.0 in the same directory

Signed-off-by: Dmitry Eremin-Solenikov <[email protected]>
Fix the following issue reported by automake:

libkeybinder/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lua-keybinder/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
python-keybinder/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

Signed-off-by: Dmitry Eremin-Solenikov <[email protected]>
… a similar behavior as keybinder-3.0 keybinder_set_use_cooked_accelerators). Enabled by default to make Shift modifiers work

Included Python bindings to toggle this function
@bluss
Copy link
Member

bluss commented Feb 8, 2017

Hi, thank you, but old libkeybinder (not keybinder-3.0) is effectively discontinued, unless someone wants to maintain it.

@bluss bluss force-pushed the master branch 2 times, most recently from 845eeb1 to 1c3680e Compare February 8, 2017 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants