hw/xwin: Bring the X screen window to the front on a single left-click on the tray icon
Bring the X screen window to the front on a single left click on the tray icon, like the comment says we do Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
6703a7c7cf
commit
6f4a48f8a5
|
@ -114,7 +114,7 @@ winHandleIconMessage(HWND hwnd, UINT message,
|
||||||
switch (lParam) {
|
switch (lParam) {
|
||||||
case WM_LBUTTONUP:
|
case WM_LBUTTONUP:
|
||||||
/* Restack and bring all windows to top */
|
/* Restack and bring all windows to top */
|
||||||
SetForegroundWindow(hwnd);
|
SetForegroundWindow (pScreenPriv->hwndScreen);
|
||||||
|
|
||||||
#ifdef XWIN_MULTIWINDOWEXTWM
|
#ifdef XWIN_MULTIWINDOWEXTWM
|
||||||
if (pScreenInfo->fMWExtWM)
|
if (pScreenInfo->fMWExtWM)
|
||||||
|
|
Loading…
Reference in New Issue