3 Aug
2013
3 Aug
'13
9 p.m.
Hi all, I came across this code:
void FloatingBehavior::onDesktopActivated (SPDesktop *desktop) { Inkscape::Preferences *prefs = Inkscape::Preferences::get(); gint transient_policy = prefs->getIntLimited("/options/transientpolicy/value", 1, 0, 2);
#ifdef WIN32 // Win32 special code to enable transient dialogs transient_policy = 2; #endif
Why is transient_policy hard-coded to 2 on Windows? And why not just set the transient_policy option to 2 per default for Windows?
Thanks, Johan