diff options
Diffstat (limited to 'framebuffer/gui.c')
-rw-r--r-- | framebuffer/gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framebuffer/gui.c b/framebuffer/gui.c index 6fad34666..062f765a4 100644 --- a/framebuffer/gui.c +++ b/framebuffer/gui.c @@ -705,8 +705,8 @@ fb_browser_window_move(fbtk_widget_t *widget, fbtk_callback_info *cbi) int y = (cbi->y + bwidget->scrolly) / gw->bw->scale; if (gui_drag.state == GUI_DRAG_PRESSED && - (abs(x - gui_drag.x) < 5 || - abs(y - gui_drag.y) < 5)) { + (abs(x - gui_drag.x) > 5 || + abs(y - gui_drag.y) > 5)) { /* Drag started */ if (gui_drag.button == 1) { browser_window_mouse_click(gw->bw, |