diff options
author | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2005-02-06 17:13:03 +0000 |
---|---|---|
committer | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2005-02-06 17:13:03 +0000 |
commit | 01aa673c9505c405fa673cf01fca41451ede7028 (patch) | |
tree | 0b272f062c887c52e02a5e2a20f2c5370dfb4b67 | |
parent | 6da02d7fb516d48f0109dc3f2ad6dfe9703543e6 (diff) | |
download | tigervnc-01aa673c9505c405fa673cf01fca41451ede7028.tar.gz tigervnc-01aa673c9505c405fa673cf01fca41451ede7028.zip |
Implemented "Exit Alt+X" menu point.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@152 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r-- | rfbplayer/rfbplayer.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rfbplayer/rfbplayer.cxx b/rfbplayer/rfbplayer.cxx index ab446cc3..c8ff8fc9 100644 --- a/rfbplayer/rfbplayer.cxx +++ b/rfbplayer/rfbplayer.cxx @@ -335,6 +335,10 @@ RfbPlayer::processMainMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) SetWindowText(speedEdit, speedStr); } break; + case ID_EXIT: + is->resumePlayback(); + PostQuitMessage(0); + break; } break; |