Project

General

Profile

Feature #159 » 0038-gtk4-Make-map-canvas-focusable.patch

S3_2, S3_1 - Marko Lindqvist, 01/09/2024 05:13 AM

View differences:

client/gui-gtk-4.0/gui_main.c
gtk_widget_set_size_request(map_canvas, 300, 300);
gtk_widget_set_can_focus(map_canvas, TRUE);
gtk_widget_set_focusable(map_canvas, TRUE);
#if 0
setup_canvas_color_for_state(GTK_STATE_FLAG_NORMAL);
setup_canvas_color_for_state(GTK_STATE_FLAG_ACTIVE);
(2-2/2)