diff options
Diffstat (limited to 'libcaja-private/caja-file-operations.c')
-rw-r--r-- | libcaja-private/caja-file-operations.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libcaja-private/caja-file-operations.c b/libcaja-private/caja-file-operations.c index 60193d47..8676800e 100644 --- a/libcaja-private/caja-file-operations.c +++ b/libcaja-private/caja-file-operations.c @@ -962,7 +962,11 @@ init_common (gsize job_size, GdkScreen *screen; screen = gtk_widget_get_screen (GTK_WIDGET (parent_window)); - common->screen_num = gdk_x11_screen_get_screen_number (screen); + /*common->screen_num = gdk_x11_screen_get_screen_number (screen);* + *https://discourse.ubuntu.com/t/porting-mate-apps-to-wayland/12670 + *Screen number is always 0 with >GTK 3.22 so we can just use zero here + */ + common->screen_num = 0; } return common; |