Trying to debug why mouse is not moving on Linux.

This commit is contained in:
the_fiddler 2008-05-04 18:15:14 +00:00
parent 08544da8ce
commit 0ac14a65f4

View file

@ -156,7 +156,7 @@ namespace Examples.Tests
void hidden_UpdateFrame(object sender, UpdateFrameEventArgs e) void hidden_UpdateFrame(object sender, UpdateFrameEventArgs e)
{ {
this.BeginInvoke(ControlLogMousePositionChanges, hidden, this); this.BeginInvoke(ControlLogMousePositionChanges, hidden, this);
Thread.Sleep(0); //Thread.Sleep(0);
} }
void LogMouseMove(MouseDevice sender, EventArgs e) void LogMouseMove(MouseDevice sender, EventArgs e)
@ -176,9 +176,6 @@ namespace Examples.Tests
void LogKeyDown(KeyboardDevice sender, Key key) void LogKeyDown(KeyboardDevice sender, Key key)
{ {
if (key == Key.Escape)
this.BeginInvoke(new MethodInvoker(Close));
this.BeginInvoke(ControlLogKeyboardDown, hidden, this, sender, key); this.BeginInvoke(ControlLogKeyboardDown, hidden, this, sender, key);
} }