Index: class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs
===================================================================
--- class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs      (Revision 131531)
+++ class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs      (Arbeitskopie)
@@ -2451,7 +2451,7 @@
                XFree(prop);
 
                XGetWindowProperty(DisplayHandle, RootWindow, _NET_WORKAREA, IntPtr.Zero, new IntPtr (256), false, (IntPtr)Atom.XA_CARDINAL, out actual_atom, out actual_format, out nitems, out bytes_after, ref prop);
-                               if ((long)nitems < 4 * current_desktop) {
+                               if ((long)nitems < 4 * (current_desktop + 1)) {
                    goto failsafe;
                }

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to