mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-06 21:06:39 +02:00
gtk, gtk2: fix popup menu popup - set activation time as gtk docs require to resove mouse capture conflicts (resolves issue #0009435)
git-svn-id: trunk@20847 -
This commit is contained in:
parent
1062d0b0aa
commit
5119208a5d
@ -425,7 +425,12 @@ begin
|
|||||||
TGtkMenuPositionFunc(AProc),
|
TGtkMenuPositionFunc(AProc),
|
||||||
@APoint,
|
@APoint,
|
||||||
0,
|
0,
|
||||||
0);
|
{$ifdef gtk1}
|
||||||
|
gdk_event_get_time(gtk_get_current_event)
|
||||||
|
{$else}
|
||||||
|
gtk_get_current_event_time()
|
||||||
|
{$endif}
|
||||||
|
);
|
||||||
{Displays a menu and makes it available for selection. Applications
|
{Displays a menu and makes it available for selection. Applications
|
||||||
can use this function to display context-sensitive menus, and will
|
can use this function to display context-sensitive menus, and will
|
||||||
typically supply NULL for the parent_menu_shell, parent_menu_item,
|
typically supply NULL for the parent_menu_shell, parent_menu_item,
|
||||||
|
Loading…
Reference in New Issue
Block a user