diff options
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/nativewindow_x11.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugingui/nativewindow_x11.cc b/plugingui/nativewindow_x11.cc index 5bb6474..c87d3df 100644 --- a/plugingui/nativewindow_x11.cc +++ b/plugingui/nativewindow_x11.cc @@ -426,8 +426,7 @@ std::shared_ptr<Event> NativeWindowX11::translateXMessage(XEvent& xevent, resizeEvent->height = xevent.xconfigure.height; event = resizeEvent; } - - if((window.windowX() != (std::size_t)xevent.xconfigure.x) || + else if((window.windowX() != (std::size_t)xevent.xconfigure.x) || (window.windowY() != (std::size_t)xevent.xconfigure.y)) { auto moveEvent = std::make_shared<MoveEvent>(); |