[Xfce4-commits] [xfce/thunar] 01/01: Thunar does not show a context menu on right-click when started via trash-panel-plugin (Bug #16000)

noreply at xfce.org noreply at xfce.org
Sun Nov 3 23:40:58 CET 2019


This is an automated email from the git hooks/post-receive script.

a   l   e   x       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/thunar.

commit 35744c4a21e16489e32bd3f7649ebb90bc27a57e
Author: Alexander Schwinn <alexxcons at xfce.org>
Date:   Sun Nov 3 22:16:42 2019 +0100

    Thunar does not show a context menu on right-click when started via
    trash-panel-plugin (Bug #16000)
---
 thunar/thunar-gdk-extensions.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/thunar/thunar-gdk-extensions.c b/thunar/thunar-gdk-extensions.c
index 18cfb3b..279382c 100644
--- a/thunar/thunar-gdk-extensions.c
+++ b/thunar/thunar-gdk-extensions.c
@@ -191,6 +191,12 @@ thunar_gdk_screen_open (const gchar *display_name,
           display = dp->data;
           break;
         }
+      /* This second comparison will as well match the short notation, ":0" with the long notation ":0.0" */
+      if (strncmp (other_name, display_name, strlen (other_name)) == 0)
+        {
+          display = dp->data;
+          break;
+        }
     }
   g_slist_free (displays);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list