[MWF] Implement multi-display support on Linux (Fixes #325669)
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / XplatUI.cs
index dcebf2fe4792bec2cdbace1b2359e540d906e854..565569c43f27b82c6565cf5cc0b7222b04dbd4c7 100644 (file)
@@ -427,6 +427,12 @@ namespace System.Windows.Forms {
                        }
                }
 
+               public static Screen[] AllScreens {
+                       get {
+                               return driver.AllScreens;
+                       }
+               }
+
                public static bool ThemesEnabled {
                        get {
                                return XplatUI.driver.ThemesEnabled;
@@ -549,10 +555,10 @@ namespace System.Windows.Forms {
                        return driver.ClipboardOpen (primary_selection);
                }
 
-               internal static void ClipboardStore (IntPtr handle, object obj, int type, XplatUI.ObjectToClipboard converter)
+               internal static void ClipboardStore (IntPtr handle, object obj, int type, XplatUI.ObjectToClipboard converter, bool copy)
                {
-                       DriverDebug ("ClipboardStore ({0:X}, {1}, {2}): Called", handle.ToInt32 (), obj, type, converter);
-                       driver.ClipboardStore (handle, obj, type, converter);
+                       DriverDebug ("ClipboardStore ({0:X}, {1}, {2}, {3}, {4}): Called", handle.ToInt32 (), obj, type, converter, copy);
+                       driver.ClipboardStore (handle, obj, type, converter, copy);
                }
 
                internal static object ClipboardRetrieve (IntPtr handle, int type, XplatUI.ClipboardToObject converter)