]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/multimon.cpp
Merge branch 'master' into master-merge
[xonotic/netradiant.git] / radiant / multimon.cpp
index 869bc1d86690b28c1eb9d723fe0a9d8cdefaa6ab..f7c7006fcf14f42bb7b618a9d13ff7145791f477 100644 (file)
 
 multimon_globals_t g_multimon_globals;
 
-LatchedValue<bool> g_Multimon_enableSysMenuPopups( false, "Floating windows sysmenu icons" );
+//LatchedValue<bool> 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) );
 }