Search
lxdream.org :: lxdream/src/display.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/display.c
changeset 770:429ff505c450
prev736:a02d1475ccfd
next839:51f1c4195790
author nkeynes
date Mon Jul 28 03:41:25 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Implement key-binding configuration pane for Cocoa UI
Minor tweaks for consistency and static-correctness
file annotate diff log raw
1.1 --- a/src/display.c Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/display.c Mon Jul 28 03:41:25 2008 +0000
1.3 @@ -218,7 +218,7 @@
1.4 return NULL;
1.5 }
1.6
1.7 -static gchar *input_keysym_for_keycode( input_driver_t driver, uint16_t keycode )
1.8 +gchar *input_keycode_to_keysym( input_driver_t driver, uint16_t keycode )
1.9 {
1.10 if( keycode == 0 ) {
1.11 return NULL;
1.12 @@ -386,7 +386,7 @@
1.13 }
1.14 }
1.15 if( display_keysym_hook != NULL ) {
1.16 - gchar *sym = input_keysym_for_keycode( driver, keycode );
1.17 + gchar *sym = input_keycode_to_keysym( driver, keycode );
1.18 if( sym != NULL ) {
1.19 display_keysym_hook(display_keysym_hook_data, sym);
1.20 g_free(sym);
.