mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-17 11:10:18 +00:00
Update XChat to r1516
This commit is contained in:
@@ -908,13 +908,8 @@ fe_gui_info (session *sess, int info_type)
|
||||
if (!GTK_WIDGET_VISIBLE (GTK_WIDGET (sess->gui->window)))
|
||||
#endif
|
||||
return 2; /* hidden (iconified or systray) */
|
||||
#if GTK_CHECK_VERSION(2,4,0)
|
||||
|
||||
if (gtk_window_is_active (GTK_WINDOW (sess->gui->window)))
|
||||
#else
|
||||
#if GTK_CHECK_VERSION(2,2,0)
|
||||
if (GTK_WINDOW (sess->gui->window)->is_active)
|
||||
#endif
|
||||
#endif
|
||||
return 1; /* active/focused */
|
||||
|
||||
return 0; /* normal (no keyboard focus or behind a window) */
|
||||
|
||||
Reference in New Issue
Block a user