Limit Win32 taskbar workaround to size state changes

This commit is contained in:
2026-06-09 14:02:41 -06:00
parent c9bed097ba
commit 035dfdd332

View File

@@ -1003,6 +1003,8 @@ mg_windowstate_cb (GtkWindow *wid, GdkEventWindowState *event, gpointer userdata
menu_set_fullscreen (current_sess->gui, prefs.hex_gui_win_fullscreen); menu_set_fullscreen (current_sess->gui, prefs.hex_gui_win_fullscreen);
#ifdef G_OS_WIN32 #ifdef G_OS_WIN32
if (event->changed_mask &
(GDK_WINDOW_STATE_MAXIMIZED | GDK_WINDOW_STATE_FULLSCREEN))
mg_win32_allow_autohide_taskbar (wid, event); mg_win32_allow_autohide_taskbar (wid, event);
#endif #endif