diff options
-rw-r--r-- | src/terminal-app.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/terminal-app.c b/src/terminal-app.c index d9cc0f0..5b16f48 100644 --- a/src/terminal-app.c +++ b/src/terminal-app.c @@ -270,9 +270,7 @@ terminal_app_get_screen_by_display_name (const char *display_name, if (display == NULL) return NULL; - if (screen_number >= 0) - screen = gdk_display_get_screen (display, screen_number); - if (screen == NULL) + else screen = gdk_display_get_default_screen (display); return screen; |