Tue, 28 Aug 2007 00:13:20 +0000
Don't mess up the initial transparency when not using the "remove transparency on focus" pref.\n
| pidgin/plugins/win32/transparency/win2ktrans.c | file | annotate | diff | comparison | revisions |
--- a/pidgin/plugins/win32/transparency/win2ktrans.c Mon Aug 27 23:44:11 2007 +0000 +++ b/pidgin/plugins/win32/transparency/win2ktrans.c Tue Aug 28 00:13:20 2007 +0000 @@ -400,7 +400,7 @@ g_object_get(G_OBJECT(window), "has-toplevel-focus", &has_focus, NULL); - if (!has_focus) + if (!has_focus || !purple_prefs_get_bool(OPT_WINTRANS_IM_ONFOCUS)) set_conv_window_trans(NULL, win); if (g_signal_handler_find(G_OBJECT(window), G_SIGNAL_MATCH_FUNC,