Added debug information.

This commit is contained in:
the_fiddler 2008-01-26 15:47:00 +00:00
parent b48e3bec8c
commit 3b9dbd1209

View file

@ -235,6 +235,7 @@ namespace OpenTK.Platform.X11
{
if (value && !fullscreen || !value && fullscreen)
{
Debug.Print(value ? "Going fullscreen" : "Going windowed");
IntPtr state_atom = Functions.XInternAtom(API.DefaultDisplay, "_NET_WM_STATE", false);
IntPtr fullscreen_atom = Functions.XInternAtom(API.DefaultDisplay, "_NET_WM_STATE_FULLSCREEN", false);
XEvent xev = new XEvent();