mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-30 14:56:50 +00:00
Fixed a WindowState reference that confused the compiler.
This commit is contained in:
parent
8905630f12
commit
98c7ba49af
|
@ -673,7 +673,7 @@ namespace OpenTK.Platform.X11
|
|||
}
|
||||
|
||||
if (minimized)
|
||||
return WindowState.Minimized;
|
||||
return OpenTK.WindowState.Minimized;
|
||||
else if (maximized == 2)
|
||||
return OpenTK.WindowState.Maximized;
|
||||
else if (fullscreen)
|
||||
|
@ -737,13 +737,13 @@ namespace OpenTK.Platform.X11
|
|||
|
||||
break;
|
||||
|
||||
case WindowState.Minimized:
|
||||
case OpenTK.WindowState.Minimized:
|
||||
// FIXME multiscreen support
|
||||
Functions.XIconifyWindow(window.Display, window.WindowHandle, window.Screen);
|
||||
|
||||
break;
|
||||
|
||||
case WindowState.Fullscreen:
|
||||
case OpenTK.WindowState.Fullscreen:
|
||||
//_previous_window_border = this.WindowBorder;
|
||||
//this.WindowBorder = WindowBorder.Hidden;
|
||||
|
||||
|
|
Loading…
Reference in a new issue