openbsd-ports/x11/mlterm/patches/patch-xwindow_xlib_x_window_c
2015-12-23 09:19:57 +00:00

16 lines
572 B
Plaintext

$OpenBSD: patch-xwindow_xlib_x_window_c,v 1.10 2015/12/23 09:19:57 dcoppa Exp $
'XKeycodeToKeysym' is deprecated
--- xwindow/xlib/x_window.c.orig Tue Dec 15 13:25:01 2015
+++ xwindow/xlib/x_window.c Wed Dec 23 09:19:52 2015
@@ -4433,7 +4433,7 @@ x_window_get_mod_meta_mask(
break ;
}
- sym = XKeycodeToKeysym( win->disp->display , key_codes[kc_count] , 0) ;
+ sym = XkbKeycodeToKeysym( win->disp->display , key_codes[kc_count] , 0, 0) ;
if( ( ( mod_key == NULL || strcmp( mod_key , "meta") == 0) &&
( sym == XK_Meta_L || sym == XK_Meta_R)) ||