gnome-terminal + menu key crushes every time
clutton
clutton at zoho.com
Tue Sep 6 19:33:30 UTC 2016
I'm not filling the bug because it might be caused by my irregular
setup, which is gdm->mate->xmonad
Every time I press menu key I have a crush. I fixed it for myself
relatively easy, by debugging and omitting that NULL pointer which is
suppose to point on input device I assume... Their prevention code
doesn't work because the device can be also NULL apparently... I
haven't dig too much, just stretched hands with lldb, I have no idea
why and how gnome-terminal works, and why it happened.
Just want to know, is it only me with this bug? Can you press the menu
key while working with gnome-terminal? And if so, what setup do you
have?
work/gtk+-3.18.8 → diff -u gdk/gdkdevice.c.old gdk/gdkdevice.c
--- gdk/gdkdevice.c.old 2016-01-07 05:25:56.000000000 +0200
+++ gdk/gdkdevice.c 2016-09-06 22:04:02.622570000 +0300
@@ -1015,9 +1015,11 @@
GdkDevice *
gdk_device_get_associated_device (GdkDevice *device)
{
- g_return_val_if_fail (GDK_IS_DEVICE (device), NULL);
-
- return device->associated;
+ if (device)
+ return device->associated;
+ else
+ return NULL;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20160906/90c8183f/attachment.sig>
More information about the freebsd-gnome
mailing list