# HG changeset patch # User Daniel Atallah # Date 1188260000 0 # Node ID 8c00833b99598e5e5169004f5b6442146e993e3e # Parent 6b9675447eac128def94840c0329830ca438b2e9 Don't mess up the initial transparency when not using the "remove transparency on focus" pref.\n diff -r 6b9675447eac -r 8c00833b9959 pidgin/plugins/win32/transparency/win2ktrans.c --- 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,