X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fmultimon.cpp;h=f7c7006fcf14f42bb7b618a9d13ff7145791f477;hb=abace91945a0d97539595103885884072f542dba;hp=869bc1d86690b28c1eb9d723fe0a9d8cdefaa6ab;hpb=06d25930d81ee46fcf1f25ccacf23bf4109d6ce1;p=xonotic%2Fnetradiant.git diff --git a/radiant/multimon.cpp b/radiant/multimon.cpp index 869bc1d8..f7c7006f 100644 --- a/radiant/multimon.cpp +++ b/radiant/multimon.cpp @@ -29,15 +29,15 @@ multimon_globals_t g_multimon_globals; -LatchedValue g_Multimon_enableSysMenuPopups( false, "Floating windows sysmenu icons" ); +//LatchedValue g_Multimon_enableSysMenuPopups( false, "Floating windows sysmenu icons" ); void MultiMonitor_constructPreferences( PreferencesPage& page ){ ui::CheckButton primary_monitor = page.appendCheckBox( "Multi Monitor", "Start on Primary Monitor", g_multimon_globals.m_bStartOnPrimMon ); - ui::CheckButton popup = page.appendCheckBox( - "", "Disable system menu on popup windows", - make_property( g_Multimon_enableSysMenuPopups ) - ); - Widget_connectToggleDependency( popup, primary_monitor ); +// ui::CheckButton popup = page.appendCheckBox( +// "", "Disable system menu on popup windows", +// make_property( g_Multimon_enableSysMenuPopups ) +// ); +// Widget_connectToggleDependency( popup, primary_monitor ); } #include "preferencesystem.h" @@ -87,9 +87,9 @@ void MultiMon_Construct(){ } GlobalPreferenceSystem().registerPreference( "StartOnPrimMon", make_property_string( g_multimon_globals.m_bStartOnPrimMon ) ); - GlobalPreferenceSystem().registerPreference( "NoSysMenuPopups", make_property_string( g_Multimon_enableSysMenuPopups.m_latched ) ); +// GlobalPreferenceSystem().registerPreference( "NoSysMenuPopups", make_property_string( g_Multimon_enableSysMenuPopups.m_latched ) ); - g_Multimon_enableSysMenuPopups.useLatched(); +// g_Multimon_enableSysMenuPopups.useLatched(); PreferencesDialog_addInterfacePreferences( makeCallbackF(MultiMonitor_constructPreferences) ); }