3.7 X11 collission with variable 'g'

This commit is contained in:
PatR
2019-06-08 07:51:45 -07:00
parent 6553fbb6f5
commit e107fdb4ab
2 changed files with 17 additions and 17 deletions
+3 -3
View File
@@ -2583,12 +2583,12 @@ init_standard_windows()
}
void
nh_XtPopup(w, g, childwid)
nh_XtPopup(w, grb, childwid)
Widget w; /* widget */
int g; /* type of grab */
int grb; /* type of grab */
Widget childwid; /* child to receive focus (can be None) */
{
XtPopup(w, (XtGrabKind) g);
XtPopup(w, (XtGrabKind) grb);
XSetWMProtocols(XtDisplay(w), XtWindow(w), &wm_delete_window, 1);
if (appResources.autofocus)
XtSetKeyboardFocus(toplevel, childwid);