winemac: If an app opens a window shortly after its systray icon is clicked, activate it.
commit1c7a2ba33b8601ee2758a55f97f40d10bbc35a5d
authorKen Thomases <ken@codeweavers.com>
Wed, 24 Apr 2013 21:10:10 +0000 (24 16:10 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 25 Apr 2013 09:44:42 +0000 (25 11:44 +0200)
tree2e78399de9080f21395e39f57e5e1922a5fb6238
parent9d08045ad1f8766aeee18c9c0d83647fff3515b7
winemac: If an app opens a window shortly after its systray icon is clicked, activate it.

The Mac driver doesn't normally steal focus, but a click on the systray icon
counts as the user giving permission.
dlls/winemac.drv/cocoa_window.m
dlls/winemac.drv/macdrv.h
dlls/winemac.drv/macdrv_cocoa.h
dlls/winemac.drv/systray.c
dlls/winemac.drv/window.c