mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-16 11:34:47 +02:00
Make it compile.
svn path=/trunk/gtk-sharp/; revision=8851
This commit is contained in:
parent
480cb88bf7
commit
ef43b59a1f
@ -1,3 +1,7 @@
|
|||||||
|
2002-11-06 Duncan Mak <duncan@ximian.com>
|
||||||
|
|
||||||
|
* sample/Scribble.cs: Make it compile.
|
||||||
|
|
||||||
2002-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
2002-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||||
|
|
||||||
* autogen.sh:
|
* autogen.sh:
|
||||||
|
@ -112,9 +112,11 @@ namespace GtkSamples {
|
|||||||
Gdk.EventMotion ev = args.Event;
|
Gdk.EventMotion ev = args.Event;
|
||||||
Gdk.Window window = ev.window;
|
Gdk.Window window = ev.window;
|
||||||
|
|
||||||
if (ev.is_hint != 0)
|
if (ev.is_hint != 0) {
|
||||||
window.GetPointer (out x, out y, out state);
|
int s;
|
||||||
else {
|
window.GetPointer (out x, out y, out s);
|
||||||
|
state = (Gdk.ModifierType) s;
|
||||||
|
} else {
|
||||||
x = (int) ev.x;
|
x = (int) ev.x;
|
||||||
y = (int) ev.y;
|
y = (int) ev.y;
|
||||||
state = (Gdk.ModifierType) ev.state;
|
state = (Gdk.ModifierType) ev.state;
|
||||||
|
Loading…
Reference in New Issue
Block a user