Added debug information.

This commit is contained in:
the_fiddler 2008-01-26 15:47:00 +00:00
parent 0136441fb3
commit a8c1206c0f

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();