Search
lxdream.org :: lxdream/src/display.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/display.c
changeset 356:b281cad966b7
prev352:f0df7a6d4703
next370:3131ba1440fc
author nkeynes
date Tue Feb 13 08:28:50 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Fix crash when display driver does not supply a keysym resolver
file annotate diff log raw
1.1 --- a/src/display.c Sun Feb 11 10:09:32 2007 +0000
1.2 +++ b/src/display.c Tue Feb 13 08:28:50 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: display.c,v 1.6 2007-02-11 10:09:32 nkeynes Exp $
1.6 + * $Id: display.c,v 1.7 2007-02-13 08:28:50 nkeynes Exp $
1.7 *
1.8 * Generic support for keyboard and other input sources. The active display
1.9 * driver is expected to deliver events here, where they're translated and
1.10 @@ -79,7 +79,7 @@
1.11 void *data, uint32_t value )
1.12 {
1.13 int i;
1.14 - if( display_driver == NULL || keysym == NULL )
1.15 + if( display_driver == NULL || keysym == NULL || display_driver->resolve_keysym == NULL )
1.16 return FALSE; /* No display driver */
1.17 gchar **strv = g_strsplit(keysym, ",", 16);
1.18 gchar **s = strv;
.