mirror of https://github.com/buggins/dlangui.git
X11: convertMouseButton() Button2 is middle, Button3 is Right in xlib.
This commit is contained in:
parent
c999873d60
commit
fd6940c184
|
@ -773,9 +773,9 @@ class X11Window : DWindow {
|
||||||
if (button == Button1)
|
if (button == Button1)
|
||||||
return MouseButton.Left;
|
return MouseButton.Left;
|
||||||
if (button == Button2)
|
if (button == Button2)
|
||||||
return MouseButton.Right;
|
|
||||||
if (button == Button3)
|
|
||||||
return MouseButton.Middle;
|
return MouseButton.Middle;
|
||||||
|
if (button == Button3)
|
||||||
|
return MouseButton.Right;
|
||||||
return MouseButton.None;
|
return MouseButton.None;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue