mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-06-08 16:00:18 +00:00
Guard fullscreen menu sync against null session
This commit is contained in:
@@ -952,6 +952,7 @@ mg_windowstate_cb (GtkWindow *wid, GdkEventWindowState *event, gpointer userdata
|
||||
if (sess && sess->gui && GTK_IS_WIDGET (sess->gui->window))
|
||||
gtk_widget_queue_draw (sess->gui->window);
|
||||
|
||||
if (current_sess && current_sess->gui)
|
||||
menu_set_fullscreen (current_sess->gui, prefs.hex_gui_win_fullscreen);
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
|
||||
Reference in New Issue
Block a user