diff -Nru mate-applets-1.18.1/debian/changelog mate-applets-1.18.1/debian/changelog --- mate-applets-1.18.1/debian/changelog 2017-08-10 05:57:36.000000000 +0300 +++ mate-applets-1.18.1/debian/changelog 2017-10-29 12:23:53.000000000 +0300 @@ -1,3 +1,11 @@ +mate-applets (1.18.1-1ubuntu1) UNRELEASED; urgency=medium + + * fix-stickynotes-selection.patch: new patch by Alberts + Muktupāvels. Fixes text selection in the notes in + stickynotes applet. (LP: #1675581) + + -- Vlad Orlov Sun, 29 Oct 2017 12:23:53 +0300 + mate-applets (1.18.1-1build1) artful; urgency=medium * No-change rebuild against latest libgtop2 diff -Nru mate-applets-1.18.1/debian/patches/fix-stickynotes-selection.patch mate-applets-1.18.1/debian/patches/fix-stickynotes-selection.patch --- mate-applets-1.18.1/debian/patches/fix-stickynotes-selection.patch 1970-01-01 03:00:00.000000000 +0300 +++ mate-applets-1.18.1/debian/patches/fix-stickynotes-selection.patch 2017-10-29 12:23:49.000000000 +0300 @@ -0,0 +1,27 @@ +From 3fbc54ed3cb23afaa2476b5eac618e2d99616b38 Mon Sep 17 00:00:00 2001 +From: monsta +Date: Wed, 20 Sep 2017 17:19:00 +0300 +Subject: [PATCH] stickynotes: fix text selection + +fixes https://github.com/mate-desktop/mate-applets/issues/236 + +taken from: +https://git.gnome.org/browse/gnome-applets/commit/?id=e189ba213c0f8db876dd020d1d80b9f8b576dd75 +--- + stickynotes/stickynotes.c | 3 +++ + 1 file changed, 3 insertions(+) + +Index: mate-applets-1.18.1/stickynotes/stickynotes.c +=================================================================== +--- mate-applets-1.18.1.orig/stickynotes/stickynotes.c ++++ mate-applets-1.18.1/stickynotes/stickynotes.c +@@ -291,6 +291,9 @@ stickynote_new_aux (GdkScreen *screen, g + + g_object_unref(builder); + ++ g_signal_connect_after (note->w_body, "button-press-event", ++ G_CALLBACK (gtk_true), note); ++ + g_signal_connect (gtk_text_view_get_buffer(GTK_TEXT_VIEW(note->w_body)), + "changed", + G_CALLBACK (buffer_changed), note); diff -Nru mate-applets-1.18.1/debian/patches/series mate-applets-1.18.1/debian/patches/series --- mate-applets-1.18.1/debian/patches/series 2016-10-03 21:57:13.000000000 +0300 +++ mate-applets-1.18.1/debian/patches/series 2017-10-29 12:23:43.000000000 +0300 @@ -1 +1,2 @@ 1000-fix-build-on-linux-4.7-or-newer.patch +fix-stickynotes-selection.patch