summaryrefslogtreecommitdiff
path: root/hw/xwin/wintrayicon.c
diff options
context:
space:
mode:
authorKensuke Matsuzaki <zakki@peppermint.jp>2004-11-04 11:52:22 +0000
committerKensuke Matsuzaki <zakki@peppermint.jp>2004-11-04 11:52:22 +0000
commit1aef1060647d22b676a29f6dcf1ac54f9fe7ff5d (patch)
tree70900e674813002e49a88c2a9deb77dbd2817165 /hw/xwin/wintrayicon.c
parent522c878fca3bfe97cd408e37065f827c004faa04 (diff)
Add InternalWM mode.
Diffstat (limited to 'hw/xwin/wintrayicon.c')
-rwxr-xr-xhw/xwin/wintrayicon.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/hw/xwin/wintrayicon.c b/hw/xwin/wintrayicon.c
index 6a4c90f1a..7eeaa6a90 100755
--- a/hw/xwin/wintrayicon.c
+++ b/hw/xwin/wintrayicon.c
@@ -115,6 +115,14 @@ winHandleIconMessage (HWND hwnd, UINT message,
switch (lParam)
{
+ case WM_LBUTTONUP:
+ /* Restack and bring all windows to top */
+ SetForegroundWindow (hwnd);
+
+ if (pScreenInfo->fMWExtWM)
+ winMWExtWMRestackWindows (pScreenInfo->pScreen);
+ break;
+
case WM_LBUTTONDBLCLK:
/* Display Exit dialog box */
winDisplayExitDialog (pScreenPriv);