mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-21 01:24:21 +00:00
Reverted commit #ec0f3fc: Bug fix broke combo-box input
This commit is contained in:
parent
ec21d0464d
commit
87a467c61b
1 changed files with 5 additions and 10 deletions
|
|
@ -2268,18 +2268,13 @@ public:
|
|||
{
|
||||
updateKeyModifiers ((int) movedEvent.state);
|
||||
|
||||
if ((movedEvent.state & (Button1MotionMask | Button2MotionMask
|
||||
| Button3MotionMask | Button4MotionMask
|
||||
| Button5MotionMask)) != 0)
|
||||
{
|
||||
lastMousePos = Point<int> (movedEvent.x_root, movedEvent.y_root);
|
||||
lastMousePos = Point<int> (movedEvent.x_root, movedEvent.y_root);
|
||||
|
||||
if (dragState->dragging)
|
||||
handleExternalDragMotionNotify();
|
||||
if (dragState->dragging)
|
||||
handleExternalDragMotionNotify();
|
||||
|
||||
handleMouseEvent (MouseInputSource::InputSourceType::mouse, getMousePos (movedEvent), currentModifiers,
|
||||
MouseInputSource::invalidPressure, MouseInputSource::invalidOrientation, getEventTime (movedEvent));
|
||||
}
|
||||
handleMouseEvent (MouseInputSource::InputSourceType::mouse, getMousePos (movedEvent), currentModifiers,
|
||||
MouseInputSource::invalidPressure, MouseInputSource::invalidOrientation, getEventTime (movedEvent));
|
||||
}
|
||||
|
||||
void handleEnterNotifyEvent (const XEnterWindowEvent& enterEvent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue