From d490cbd8da4159782be2022e1c2998296950b6ec Mon Sep 17 00:00:00 2001 From: heckflosse Date: Sun, 16 Jul 2017 19:57:02 +0200 Subject: [PATCH] Fix for last commit --- rtgui/editwindow.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rtgui/editwindow.cc b/rtgui/editwindow.cc index 435215869..65e26275f 100644 --- a/rtgui/editwindow.cc +++ b/rtgui/editwindow.cc @@ -240,9 +240,7 @@ void EditWindow::toFront () // when using the secondary window on the same monitor as the primary window we need to present the secondary window. // If we don't, it will stay in background when opening 2nd, 3rd... editor, which is annoying // It will also deiconify the window - if(parent->get_screen()->get_monitor_at_window(parent->get_window()) == parent->get_screen()->get_monitor_at_window(this->get_window())) { - present(); - } + present(); } bool EditWindow::keyPressed (GdkEventKey* event)