Browse Source

Fix for linux updating of child window bounds.

tags/2021-05-28
jules 12 years ago
parent
commit
fd90a9d449
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      modules/juce_gui_basics/native/juce_linux_Windowing.cpp

+ 6
- 0
modules/juce_gui_basics/native/juce_linux_Windowing.cpp View File

@@ -1514,6 +1514,9 @@ public:
handleMouseEvent (0, getMousePos (buttonRelEvent), currentModifiers, getEventTime (buttonRelEvent));
clearLastMousePos();
if (parentWindow != 0)
updateBounds();
}
void handleMotionNotifyEvent (const XPointerMovedEvent& movedEvent)
@@ -1530,6 +1533,9 @@ public:
void handleEnterNotifyEvent (const XEnterWindowEvent& enterEvent)
{
if (parentWindow != 0)
updateBounds();
clearLastMousePos();
if (! currentModifiers.isAnyMouseButtonDown())


Loading…
Cancel
Save