projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fc4d22
)
text: Fix context menu position
author
Timm Bäder
<mail@baedert.org>
Sat, 19 Oct 2019 09:04:03 +0000
(11:04 +0200)
committer
Timm Bäder
<mail@baedert.org>
Tue, 22 Oct 2019 07:37:08 +0000
(09:37 +0200)
Fixes #2209
gtk/gtktext.c
patch
|
blob
|
history
diff --git
a/gtk/gtktext.c
b/gtk/gtktext.c
index c6df814b1372654a45b9380881dc5ccaa69f95b8..726ea180e0d8ff83f09e085910e622ef79fbccc6 100644
(file)
--- 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))