diff --git a/pyglet_gui/manager.py b/pyglet_gui/manager.py index c28dbe1..93e2adb 100644 --- a/pyglet_gui/manager.py +++ b/pyglet_gui/manager.py @@ -377,12 +377,11 @@ def on_mouse_motion(self, x, y, dx, dy): if self.hit_test(x, y): if not self._root_group.is_on_top(): self.pop_to_top() - return True def on_mouse_press(self, x, y, button, modifiers): retval = ControllerManager.on_mouse_press(self, x, y, button, modifiers) if self.hit_test(x, y): - if not retval: + if not retval and self.is_movable: self._is_dragging = True retval = True return retval