blob: a7a519696a3502c1e20cd7bee5a9f2915bcb0253 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- libtomboy/tomboykeybinder.c.orig 2010-10-29 12:34:51.000000000 +0200
+++ libtomboy/tomboykeybinder.c 2010-10-29 12:35:33.000000000 +0200
@@ -313,7 +313,8 @@ tomboy_keybinder_is_modifier (guint keyc
XModifierKeymap *mod_keymap;
gboolean retval = FALSE;
- mod_keymap = XGetModifierMapping (gdk_display);
+ mod_keymap = XGetModifierMapping (
+ GDK_DISPLAY_XDISPLAY(gdk_display_get_default()));
map_size = 8 * mod_keymap->max_keypermod;
|