Commits

Anonymous committed 8327d1e

vcl116: #i112421# use correct index (thanks cmc!)

Comments (0)

Files changed (1)

vcl/unx/gtk/app/gtkdata.cxx

     static screen_get_primary_monitor sym_gdk_screen_get_primary_monitor =
         (screen_get_primary_monitor)osl_getAsciiFunctionSymbol( GetSalData()->m_pPlugin, "gdk_screen_get_primary_monitor" );
     if (sym_gdk_screen_get_primary_monitor)
-        n = sym_gdk_screen_get_primary_monitor( pScreen );
+        n = m_aXineramaScreenIndexMap[sym_gdk_screen_get_primary_monitor( pScreen )];
 #endif
     return n;
 }