diff --git a/thunar/thunar-gdk-extensions.c b/thunar/thunar-gdk-extensions.c index 18cfb3b618edf7c6dc1b8700f150c717eeb55919..279382cb960eed16d907200f4aa0e9e60ec8eb5f 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);