winex11: Remove debug hack that slipped into commit a4a5a2ec12
.
This commit is contained in:
parent
4b4109a647
commit
ec4cc7f76b
|
@ -552,8 +552,6 @@ static void handle_wm_protocols( HWND hwnd, XClientMessageEvent *event )
|
||||||
hwnd, IsWindowEnabled(hwnd), IsWindowVisible(hwnd), GetWindowLongW(hwnd, GWL_STYLE),
|
hwnd, IsWindowEnabled(hwnd), IsWindowVisible(hwnd), GetWindowLongW(hwnd, GWL_STYLE),
|
||||||
GetFocus(), GetActiveWindow(), GetForegroundWindow(), last_focus );
|
GetFocus(), GetActiveWindow(), GetForegroundWindow(), last_focus );
|
||||||
|
|
||||||
if (hwnd == GetForegroundWindow()) return;
|
|
||||||
|
|
||||||
if (can_activate_window(hwnd))
|
if (can_activate_window(hwnd))
|
||||||
{
|
{
|
||||||
/* simulate a mouse click on the caption to find out
|
/* simulate a mouse click on the caption to find out
|
||||||
|
|
Loading…
Reference in New Issue