[rkward/work/kf5_fix_device_embedding] rkward/windows: Fix initial size jump

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Mon Feb 15 13:59:47 UTC 2016


Git commit 50aed0b4bf7c07c4fb2cb019b6bb51acc5810a4d by Thomas Friedrichsmeier.
Committed on 15/02/2016 at 09:57.
Pushed by tfry into branch 'work/kf5_fix_device_embedding'.

Fix initial size jump

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

http://commits.kde.org/rkward/50aed0b4bf7c07c4fb2cb019b6bb51acc5810a4d

diff --git a/rkward/windows/rkwindowcatcher.cpp b/rkward/windows/rkwindowcatcher.cpp
index 03bf1cf..d668612 100644
--- a/rkward/windows/rkwindowcatcher.cpp
+++ b/rkward/windows/rkwindowcatcher.cpp
@@ -405,9 +405,9 @@ void RKCaughtX11Window::fixedSizeToggled () {
 
 	if (dynamic_size_action->isChecked ()) {
 		scroll_widget->takeWidget ();
+		scroll_widget->hide ();
 		layout ()->addWidget (xembed_container);
 		xembed_container->show ();
-		scroll_widget->hide ();
 		xembed_container->setMinimumSize (5, 5);
 		xembed_container->setMaximumSize (32767, 32767);
 	} else {



More information about the rkward-tracker mailing list