changeset 73:adf40637cbb3

Use hwndFrame for dw_menu_popup(), prevents errors on GTK4.
author Brian Smith <brian@dbsoft.org>
date Tue, 02 Mar 2021 21:54:49 -0600
parents 8d3636c79e66
children 74f5e1844b8c
files cc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cc.c	Wed Jan 06 21:19:50 2021 -0600
+++ b/cc.c	Tue Mar 02 21:54:49 2021 -0600
@@ -410,7 +410,7 @@
 	dw_signal_connect(menuitem, DW_SIGNAL_CLICKED, DW_SIGNAL_FUNC(display_exit), NULL);
 
 	dw_pointer_query_pos(&px, &py);
-	dw_menu_popup(&hwndMenu, hwnd, px, py);
+	dw_menu_popup(&hwndMenu, hwndFrame, px, py);
 	return TRUE;
 }