[gtk/wip/baedert/for-master] text: Fix context menu position
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master] text: Fix context menu position
- Date: Sat, 19 Oct 2019 09:04:50 +0000 (UTC)
commit 4ec77b73d3430fae7540c8fc14ea4fcd3e4ac468
Author: Timm Bäder <mail baedert org>
Date: Sat Oct 19 11:04:03 2019 +0200
text: Fix context menu position
Fixes #2209
gtk/gtktext.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index c6df814b13..726ea180e0 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -2528,7 +2528,7 @@ gtk_text_click_gesture_pressed (GtkGestureClick *gesture,
if (gdk_event_triggers_context_menu (event))
{
- gtk_text_do_popup (self, x, y);
+ gtk_text_do_popup (self, widget_x, widget_y);
}
else if (n_press == 1 && button == GDK_BUTTON_MIDDLE &&
get_middle_click_paste (self))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]