diff --git a/0001-widget-Only-show-the-cursor-on-motion-if-moved.patch b/0001-widget-Only-show-the-cursor-on-motion-if-moved.patch deleted file mode 100644 index 5935eae..0000000 --- a/0001-widget-Only-show-the-cursor-on-motion-if-moved.patch +++ /dev/null @@ -1,39 +0,0 @@ -From f54c7051b61c0ab935fe64e6a69503ce3430bb9b Mon Sep 17 00:00:00 2001 -From: Bastien Nocera -Date: Mon, 14 Sep 2015 14:22:35 +0200 -Subject: [PATCH] widget: Only show the cursor on motion if moved - -Some devices, like Wacom tablets, will emit mouse motion -events even when the mouse doesn't move on the tablet. This -means that the mouse cursor will show up on the screen very shortly -after hiding. - -We now check the motion event against the last location of the -mouse cursor to avoid this behaviour. - -https://bugzilla.gnome.org/show_bug.cgi?id=688456 ---- - src/vte.cc | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/src/vte.cc b/src/vte.cc -index 55e57dd3270a..1ec07a945812 100644 ---- a/src/vte.cc -+++ b/src/vte.cc -@@ -7321,8 +7321,11 @@ vte_terminal_motion_notify(GtkWidget *widget, GdkEventMotion *event) - } else { - /* Hilite any matches. */ - vte_terminal_match_hilite(terminal, x, y); -- /* Show the cursor. */ -- _vte_terminal_set_pointer_visible(terminal, TRUE); -+ /* Show the cursor if we moved. */ -+ if (event->type != GDK_MOTION_NOTIFY || -+ x != terminal->pvt->mouse_last_x || -+ y != terminal->pvt->mouse_last_y) -+ _vte_terminal_set_pointer_visible(terminal, TRUE); - } - - switch (event->type) { --- -2.1.0 - diff --git a/vte291.spec b/vte291.spec index 19d3bd8..d9f2fa5 100644 --- a/vte291.spec +++ b/vte291.spec @@ -8,8 +8,6 @@ Summary: Terminal emulator library License: LGPLv2+ URL: http://www.gnome.org/ Source0: http://download.gnome.org/sources/vte/0.42/vte-%{version}.tar.xz -# https://bugzilla.gnome.org/show_bug.cgi?id=688456 -Patch0: 0001-widget-Only-show-the-cursor-on-motion-if-moved.patch # https://bugzilla.gnome.org/show_bug.cgi?id=711059 Patch100: vte291-command-notify.patch @@ -56,7 +54,6 @@ emulator library. %prep %setup -q -n vte-%{version} -%patch0 -p1 -b .motion %patch100 -p1 -b .command-notify %build @@ -102,6 +99,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %changelog * Fri Jan 29 2016 Debarshi Ray - 0.43.1-1 - Update to 0.43.1 +- Drop upstreamed patch * Fri Jan 29 2016 Debarshi Ray - 0.43.0-1 - Update to 0.43.0