[libhandy] tab-box: Fix checking the dnd threshold
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy] tab-box: Fix checking the dnd threshold
- Date: Thu, 18 Feb 2021 13:11:58 +0000 (UTC)
commit 33140d2d906c0399471ef495d4d780ec2ecd465b
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Feb 18 13:30:55 2021 +0100
tab-box: Fix checking the dnd threshold
A typo caused a miscalculation.
src/hdy-tab-box.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/hdy-tab-box.c b/src/hdy-tab-box.c
index 277d7262..7953568d 100644
--- a/src/hdy-tab-box.c
+++ b/src/hdy-tab-box.c
@@ -1789,7 +1789,7 @@ check_dnd_threshold (HdyTabBox *self)
return self->hover_x < alloc.x - threshold ||
self->hover_y < alloc.y - threshold ||
self->hover_x > alloc.x + alloc.width + threshold ||
- self->hover_y > alloc.x + alloc.height + threshold;
+ self->hover_y > alloc.y + alloc.height + threshold;
}
static gint
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]