[rkward] rkward/windows: Do activate non-tool-windows on addition.

Thomas Friedrichsmeier null at kde.org
Tue Feb 18 15:13:54 GMT 2020


Git commit 0da728c275391f152f4a6fe99976d98fda61e909 by Thomas Friedrichsmeier.
Committed on 18/02/2020 at 15:12.
Pushed by tfry into branch 'master'.

Do activate non-tool-windows on addition.

See https://mail.kde.org/pipermail/rkward-devel/2020-February/005410.html

M  +1    -1    rkward/windows/rkworkplace.cpp

https://commits.kde.org/rkward/0da728c275391f152f4a6fe99976d98fda61e909

diff --git a/rkward/windows/rkworkplace.cpp b/rkward/windows/rkworkplace.cpp
index cdedd4e7..8a4cd8ab 100644
--- a/rkward/windows/rkworkplace.cpp
+++ b/rkward/windows/rkworkplace.cpp
@@ -214,7 +214,7 @@ void RKWorkplace::attachWindow (RKMDIWindow *window) {
 	}
 
 	RK_ASSERT (window->getPart ());
-	RKWardMainWindow::getMain ()->partManager ()->addPart (window->getPart (), false);
+	RKWardMainWindow::getMain ()->partManager ()->addPart (window->getPart (), !window->isToolWindow ());
 }
 
 void RKWorkplace::detachWindow (RKMDIWindow *window, bool was_attached) {



More information about the rkward-tracker mailing list