Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
gtk3.34886
gtk3-X11-forwarding.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gtk3-X11-forwarding.patch of Package gtk3.34886
From 4b1c02560f0d8097bf5a11932e52fb72f3e9e94b Mon Sep 17 00:00:00 2001 From: Benjamin Otte <otte@redhat.com> Date: Mon, 12 Feb 2018 21:09:50 +0100 Subject: [PATCH] x11: Don't call XInput API for core events Fixes emacs crashing with XMing. https://bugzilla.redhat.com/show_bug.cgi?id=1483942 https://bugzilla.opensuse.org/show_bug.cgi?id=1219891 --- gdk/x11/gdkdisplay-x11.c | 10 ++++++++++ 1 file changed, 10 insertions(+) --- gdk/x11/gdkdisplay-x11.c +++ gdk/x11/gdkdisplay-x11.c 2024-02-15 09:21:24.266482810 +0000 @@ -2882,6 +2882,16 @@ gdk_x11_display_get_default_seat (GdkDis seats = gdk_display_list_seats (display); + /* Shortcut only one seat being available. + * This path always triggers for core events, so we can freely use XInput below. */ + if (g_list_length (seats) == 1) + { + GdkSeat *seat = seats->data; + + g_list_free (seats); + return seat; + } + gdk_x11_display_error_trap_push (display); result = XIGetClientPointer (GDK_DISPLAY_XDISPLAY (display), None, &device_id);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor