summaryrefslogtreecommitdiff
path: root/src/core/session.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-10-24 16:31:11 +0200
committerinfirit <[email protected]>2014-10-24 16:36:19 +0200
commit49e91bc9093010e269816da1df763a0374dbc515 (patch)
treecc62723c60743e4df53286c0bc9a9f13c645ef1b /src/core/session.c
parentbbdef45fbb7c7addea5a3be99fbebf823d83192d (diff)
downloadmarco-49e91bc9093010e269816da1df763a0374dbc515.tar.bz2
marco-49e91bc9093010e269816da1df763a0374dbc515.tar.xz
Update meta_show_dialog for gtk's removal of --screen
gtk3 no longer has the --screen command-line argument, which metacity was passing to zenity. Use --display (with an explicitly-specified screen number) instead. Author: Dan Winship Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687938 Based on metacity commit: 8d19afdcccaec28a5512b0a707d8238b9dd4e2f3
Diffstat (limited to 'src/core/session.c')
-rw-r--r--src/core/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/session.c b/src/core/session.c
index 80bf9a0d..495ac950 100644
--- a/src/core/session.c
+++ b/src/core/session.c
@@ -1809,7 +1809,7 @@ warn_about_lame_clients_and_finish_interact (gboolean shutdown)
"and will have to be restarted manually next time "
"you log in."),
"240",
- meta_screen_get_screen_number (meta_get_display()->active_screen),
+ meta_get_display()->active_screen->screen_name,
NULL, NULL,
None,
columns,