diff options
Diffstat (limited to 'src/ui/resizepopup.c')
-rw-r--r-- | src/ui/resizepopup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/resizepopup.c b/src/ui/resizepopup.c index a4d9e976..c60fcd65 100644 --- a/src/ui/resizepopup.c +++ b/src/ui/resizepopup.c @@ -78,8 +78,7 @@ ensure_size_window (MetaResizePopup *popup) popup->size_window = gtk_window_new (GTK_WINDOW_POPUP); gtk_window_set_screen (GTK_WINDOW (popup->size_window), - gdk_display_get_screen (gdk_x11_lookup_xdisplay (popup->display), - popup->screen_number)); + gdk_display_get_default_screen (gdk_x11_lookup_xdisplay (popup->display))); /* never shrink the size window */ gtk_window_set_resizable (GTK_WINDOW (popup->size_window), |