diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-10-20 19:33:50 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-10-20 19:33:50 +0000 |
commit | c98e1cc97351759b9a8d21b23c06ad8f99879ea6 (patch) | |
tree | 2c835c7585331d7c44f90e5503c4e041fb9330b9 /hw | |
parent | a19580051c83e6d869b5787b3553f4f33b436171 (diff) |
Add ShowCursor entry to tray menu
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xwin/ChangeLog | 5 | ||||
-rw-r--r-- | hw/xwin/XWin.rc | 1 | ||||
-rw-r--r-- | hw/xwin/winresource.h | 1 | ||||
-rw-r--r-- | hw/xwin/winwndproc.c | 3 |
4 files changed, 10 insertions, 0 deletions
diff --git a/hw/xwin/ChangeLog b/hw/xwin/ChangeLog index 596e78d5c..f91e67307 100644 --- a/hw/xwin/ChangeLog +++ b/hw/xwin/ChangeLog @@ -1,5 +1,10 @@ 2004-10-20 Alexander Gottwald <ago at freedesktop dot org> + * XWin.rc, winresource.h, winwndproc.c: + Add ShowCursor entry to tray menu + +2004-10-20 Alexander Gottwald <ago at freedesktop dot org> + * Imakefile: Add ETCX11DIR to DEFINES * InitOutput.c (InitOutput): diff --git a/hw/xwin/XWin.rc b/hw/xwin/XWin.rc index 97ae4d643..dcde0b52d 100644 --- a/hw/xwin/XWin.rc +++ b/hw/xwin/XWin.rc @@ -94,6 +94,7 @@ BEGIN POPUP "TRAYICON_MENU" BEGIN MENUITEM "&Hide Root Window", ID_APP_HIDE_ROOT + MENUITEM "Show Cursor", ID_APP_SHOWCURSOR MENUITEM "&About...", ID_APP_ABOUT MENUITEM SEPARATOR MENUITEM "E&xit", ID_APP_EXIT diff --git a/hw/xwin/winresource.h b/hw/xwin/winresource.h index 300fcd198..ca69521a1 100644 --- a/hw/xwin/winresource.h +++ b/hw/xwin/winresource.h @@ -48,6 +48,7 @@ #define ID_APP_HIDE_ROOT 201 #define ID_APP_ALWAYS_ON_TOP 202 #define ID_APP_ABOUT 203 +#define ID_APP_SHOWCURSOR 204 #define ID_ABOUT_UG 300 #define ID_ABOUT_FAQ 301 diff --git a/hw/xwin/winwndproc.c b/hw/xwin/winwndproc.c index aac3153bf..6188425dd 100644 --- a/hw/xwin/winwndproc.c +++ b/hw/xwin/winwndproc.c @@ -1161,6 +1161,9 @@ winWindowProc (HWND hwnd, UINT message, /* Display Exit dialog */ winDisplayExitDialog (s_pScreenPriv); return 0; + case ID_APP_SHOWCURSOR: + winDebug("ShowCursor: %d\n", ShowCursor(TRUE)); + return 0; #ifdef XWIN_MULTIWINDOW case ID_APP_HIDE_ROOT: |