From f238e5dd422bc70a4283446aff787683f8824250 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 22 Sep 2011 17:26:39 +0200 Subject: core: fix display of paste multi-line prompt with a root input bar (bug #34305) --- src/gui/gui-bar-item.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/gui/gui-bar-item.c') diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c index a49eefd73..57b64c531 100644 --- a/src/gui/gui-bar-item.c +++ b/src/gui/gui-bar-item.c @@ -594,10 +594,7 @@ gui_bar_item_default_input_paste (void *data, struct t_gui_bar_item *item, (void) data; (void) item; - if (!window) - return NULL; - - if (window != gui_current_window) + if (window && (window != gui_current_window)) return NULL; if (!gui_key_paste_pending) -- cgit v1.2.3