Disable the 'set_transient_for()' call unless environment variable SYNFIG_TRANSIENT_D...
[synfig.git] / synfig-studio / trunk / src / gtkmm / dockdialog.cpp
index ec9c6e8..abe3fbe 100644 (file)
@@ -103,7 +103,9 @@ DockDialog::DockDialog():
 
        //! \todo can we set dialog windows transient for all normal windows, not just the toolbox?
        //! paragraph 3 of http://standards.freedesktop.org/wm-spec/1.3/ar01s07.html suggests we can
-       set_transient_for(*App::toolbox);
+       // this seems to have bad effects on KDE, so leave it disabled by default
+       if(getenv("SYNFIG_TRANSIENT_DIALOGS"))
+               set_transient_for(*App::toolbox);
 
        // Set up the window
        //set_type_hint(Gdk::WINDOW_TYPE_HINT_UTILITY);