From 49e91bc9093010e269816da1df763a0374dbc515 Mon Sep 17 00:00:00 2001 From: infirit Date: Fri, 24 Oct 2014 16:31:11 +0200 Subject: 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 --- src/core/delete.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/delete.c') diff --git a/src/core/delete.c b/src/core/delete.c index 42360a5a..a93a2ac7 100644 --- a/src/core/delete.c +++ b/src/core/delete.c @@ -105,8 +105,8 @@ delete_ping_timeout_func (MetaDisplay *display, dialog_pid = meta_show_dialog ("--question", - window_content, 0, - window->screen->number, + window_content, NULL, + window->screen->screen_name, _("_Wait"), _("_Force Quit"), window->xwindow, NULL, NULL); -- cgit v1.2.1