diff options
Diffstat (limited to 'dw/layout.cc')
-rw-r--r-- | dw/layout.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dw/layout.cc b/dw/layout.cc index 3680e0c8..d1fecf48 100644 --- a/dw/layout.cc +++ b/dw/layout.cc @@ -852,6 +852,9 @@ void Layout::moveToWidget (Widget *newWidgetAtPoint, ButtonState state) int trackLen, i; EventCrossing crossingEvent; + if (!topLevel) + return; + if (newWidgetAtPoint != widgetAtPoint) { // The mouse pointer has been moved into another widget. if (newWidgetAtPoint && widgetAtPoint) |