diff options
Diffstat (limited to 'Source/FLTKDialog/FLTKPropertyItemRow.cxx')
-rw-r--r-- | Source/FLTKDialog/FLTKPropertyItemRow.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/FLTKDialog/FLTKPropertyItemRow.cxx b/Source/FLTKDialog/FLTKPropertyItemRow.cxx index 078a7e5..e1d286a 100644 --- a/Source/FLTKDialog/FLTKPropertyItemRow.cxx +++ b/Source/FLTKDialog/FLTKPropertyItemRow.cxx @@ -189,8 +189,8 @@ NameButtonCallback( Fl_Widget * widget, void * data) static Fl_Menu_Button * popupMenu = 0; if( !popupMenu ) { - int lastMousePositionX = Fl::event_x_root(); - int lastMousePositionY = Fl::event_y_root(); + int lastMousePositionX = Fl::event_x(); + int lastMousePositionY = Fl::event_y(); popupMenu = new Fl_Menu_Button(lastMousePositionX, lastMousePositionY,100,200); } |