Fixed the GTK3 window-state handler so minimizing via taskbar no longer immediately deiconifies the window again. Specifically, I removed the conflicting gtk_window_deiconify(wid) call from the iconify path in mg_windowstate_cb, while preserving the existing tray-hide behavior and window state bookkeeping. This restores expected toggle behavior when clicking the taskbar icon on a maximized window.

This commit is contained in:
2026-02-18 13:11:04 -07:00
parent e2db0ec3e5
commit e3f624d2bb

View File

@@ -669,7 +669,6 @@ mg_windowstate_cb (GtkWindow *wid, GdkEventWindowState *event, gpointer userdata
gtkutil_tray_icon_supported (wid)) gtkutil_tray_icon_supported (wid))
{ {
tray_toggle_visibility (TRUE); tray_toggle_visibility (TRUE);
gtk_window_deiconify (wid);
} }
prefs.hex_gui_win_state = 0; prefs.hex_gui_win_state = 0;