pidgin: 891c7ee2: Fix a regression in presenting the exist...

datallah at pidgin.im datallah at pidgin.im
Mon Mar 3 11:40:46 EST 2008


-----------------------------------------------------------------
Revision: 891c7ee2331dd2ab7f2fc7055658687f76159685
Ancestor: a5f957ad0e0684cede85a142845c68861b2566bd
Author: datallah at pidgin.im
Date: 2008-03-03T16:35:15
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/891c7ee2331dd2ab7f2fc7055658687f76159685

Modified files:
        pidgin/win32/winpidgin.c

ChangeLog: 

Fix a regression in presenting the existing instance of Pidgin on Windows when the executable is launched a subsequent time. Fixes #5041.

-------------- next part --------------
============================================================
--- pidgin/win32/winpidgin.c	cb1f32475c317e48999faf40a8aec80869f253b5
+++ pidgin/win32/winpidgin.c	ca079a5bddcf3d4d5d7a40239dbc359410722fae
@@ -456,7 +456,7 @@ static BOOL winpidgin_set_running(BOOL f
 
 				printf("An instance of Pidgin is already running.\n");
 
-				if((msg_win = FindWindowEx(HWND_MESSAGE, NULL, TEXT("WinpidginMsgWinCls"), NULL)))
+				if((msg_win = FindWindowEx(NULL, NULL, TEXT("WinpidginMsgWinCls"), NULL)))
 					if(SendMessage(msg_win, PIDGIN_WM_FOCUS_REQUEST, (WPARAM) NULL, (LPARAM) NULL))
 						return FALSE;
 


More information about the Commits mailing list