mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-06 09:38:24 +00:00
Added debug information.
This commit is contained in:
parent
0136441fb3
commit
a8c1206c0f
|
@ -235,6 +235,7 @@ namespace OpenTK.Platform.X11
|
||||||
{
|
{
|
||||||
if (value && !fullscreen || !value && fullscreen)
|
if (value && !fullscreen || !value && fullscreen)
|
||||||
{
|
{
|
||||||
|
Debug.Print(value ? "Going fullscreen" : "Going windowed");
|
||||||
IntPtr state_atom = Functions.XInternAtom(API.DefaultDisplay, "_NET_WM_STATE", false);
|
IntPtr state_atom = Functions.XInternAtom(API.DefaultDisplay, "_NET_WM_STATE", false);
|
||||||
IntPtr fullscreen_atom = Functions.XInternAtom(API.DefaultDisplay, "_NET_WM_STATE_FULLSCREEN", false);
|
IntPtr fullscreen_atom = Functions.XInternAtom(API.DefaultDisplay, "_NET_WM_STATE_FULLSCREEN", false);
|
||||||
XEvent xev = new XEvent();
|
XEvent xev = new XEvent();
|
||||||
|
|
Loading…
Reference in a new issue