forked from mirror/OpenTTD
(svn r2530) - Fix: [ 1219829 ] Mouse-wheel crashes OTTD. Widget detection failed to detect the most-right and most-bottom pixels of a widget. If scrollwheel is used on a not-found widget (such as the background of the toolbar), it will now fail correctly (glx)
This commit is contained in:
2
window.h
2
window.h
@@ -546,7 +546,7 @@ enum WindowFlags {
|
||||
|
||||
void DispatchLeftClickEvent(Window *w, int x, int y);
|
||||
void DispatchRightClickEvent(Window *w, int x, int y);
|
||||
void DispatchMouseWheelEvent(Window *w, uint widget, int wheel);
|
||||
void DispatchMouseWheelEvent(Window *w, int widget, int wheel);
|
||||
|
||||
/* window.c */
|
||||
void DrawOverlappedWindow(Window *w, int left, int top, int right, int bottom);
|
||||
|
Reference in New Issue
Block a user