Bug #2368 » 0083-gtk4-x-Fix-crash-when-pointer-leaves-map-while-goto-.patch
| client/gui-gtk-4.0/mapctrl.c | ||
|---|---|---|
|
gpointer data)
|
||
|
{
|
||
|
update_mouse_cursor(CURSOR_DEFAULT);
|
||
|
update_unit_info_label(get_units_in_focus());
|
||
|
/* Here used to be update_unit_info_label() call here,
|
||
|
* but it sometimes crashed in goto_get_turns() when
|
||
|
* goto setup was active. It was not obvious why
|
||
|
* the call would be needed here. We just removed it. */
|
||
|
return TRUE;
|
||
|
}
|
||
| client/gui-gtk-5.0/mapctrl.c | ||
|---|---|---|
|
gpointer data)
|
||
|
{
|
||
|
update_mouse_cursor(CURSOR_DEFAULT);
|
||
|
update_unit_info_label(get_units_in_focus());
|
||
|
/* Here used to be update_unit_info_label() call here,
|
||
|
* but it sometimes crashed in goto_get_turns() when
|
||
|
* goto setup was active. It was not obvious why
|
||
|
* the call would be needed here. We just removed it. */
|
||
|
return TRUE;
|
||
|
}
|
||