Browse Source

glassesWindow maximes to bounds not to workingArea

Alexander Hendrich 10 years ago
parent
commit
b1c6226d65
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bbiwarg/Output/GlassesOutput/GlassesWindow.cs

+ 2 - 2
bbiwarg/Output/GlassesOutput/GlassesWindow.cs

@@ -58,8 +58,8 @@ namespace bbiwarg.Output.GlassesOutput
 
 
             //fullscreen
             //fullscreen
             FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
             FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
-            Location = new Point(screen.WorkingArea.X, screen.WorkingArea.Y);
-            Size = new Size(outputSize.Width, outputSize.Height);
+            Location = screen.Bounds.Location;
+            Size = screen.Bounds.Size;
         }
         }
 
 
         protected override void OnClosing(CancelEventArgs e)
         protected override void OnClosing(CancelEventArgs e)