mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 15:55:29 +00:00
Re-added mouse input events.
This commit is contained in:
parent
262de30201
commit
21322323ba
|
@ -373,9 +373,9 @@ namespace OpenTK.Platform.X11
|
||||||
API.CreateColormap(window.Display, window.RootWindow, window.VisualInfo.visual, 0/*AllocNone*/);
|
API.CreateColormap(window.Display, window.RootWindow, window.VisualInfo.visual, 0/*AllocNone*/);
|
||||||
window.EventMask =
|
window.EventMask =
|
||||||
EventMask.StructureNotifyMask | EventMask.SubstructureNotifyMask | EventMask.ExposureMask |
|
EventMask.StructureNotifyMask | EventMask.SubstructureNotifyMask | EventMask.ExposureMask |
|
||||||
EventMask.KeyReleaseMask | EventMask.KeyPressMask;/* |
|
EventMask.KeyReleaseMask | EventMask.KeyPressMask |
|
||||||
EventMask.PointerMotionMask | /* Bad! EventMask.PointerMotionHintMask |
|
EventMask.PointerMotionMask | /* Bad! EventMask.PointerMotionHintMask | */
|
||||||
EventMask.ButtonPressMask | EventMask.ButtonReleaseMask;*/
|
EventMask.ButtonPressMask | EventMask.ButtonReleaseMask;
|
||||||
attributes.event_mask = (IntPtr)window.EventMask;
|
attributes.event_mask = (IntPtr)window.EventMask;
|
||||||
|
|
||||||
uint mask = (uint)SetWindowValuemask.ColorMap | (uint)SetWindowValuemask.EventMask |
|
uint mask = (uint)SetWindowValuemask.ColorMap | (uint)SetWindowValuemask.EventMask |
|
||||||
|
|
Loading…
Reference in a new issue