summaryrefslogtreecommitdiff
path: root/src/Fl_Text_Display.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-11-26 12:00:00 +0100
committerMatthias Melcher <github@matthiasm.com>2023-11-26 12:00:09 +0100
commit102437f1eedce8589d947bf8791d6d5f413d445b (patch)
treea09f50417be5cc3f30e1aac729b7269c0429ce3f /src/Fl_Text_Display.cxx
parent39a3212fc3160f268342068c2beb45b2dbc4107b (diff)
Restores mouse pointer before popping up cut/copy/paste menu
on Fl_Input and Fl_Text_Display Also adds &ndash; to Help View
Diffstat (limited to 'src/Fl_Text_Display.cxx')
-rw-r--r--src/Fl_Text_Display.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx
index 088f022d3..b2f748411 100644
--- a/src/Fl_Text_Display.cxx
+++ b/src/Fl_Text_Display.cxx
@@ -4107,6 +4107,7 @@ int Fl_Text_Display::handle_rmb(int readonly) {
rmb_menu[2].activate(); // paste
}
// pop up the menu
+ fl_cursor(FL_CURSOR_DEFAULT);
const Fl_Menu_Item *mi = rmb_menu->popup(Fl::event_x(), Fl::event_y());
if (mi) return (int)mi->argument();
return 0;