diff options
-rw-r--r-- | ChangeLog.txt | 7 | ||||
-rw-r--r-- | linden/indra/newview/llpanellogin.cpp | 2 | ||||
-rw-r--r-- | linden/indra/newview/llviewermenu.cpp | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index f386888..f5d4012 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,5 +1,12 @@ | |||
1 | 2009-05-25 Jacek Antonelli <jacek.antonelli@gmail.com> | 1 | 2009-05-25 Jacek Antonelli <jacek.antonelli@gmail.com> |
2 | 2 | ||
3 | * linden/indra/newview/llpanellogin.cpp: | ||
4 | User-initiated Toggle Fullscreen has a confirmation dialog now. | ||
5 | That's in the View menu and also Alt+Enter at login screen. | ||
6 | * linden/indra/newview/llviewermenu.cpp: | ||
7 | Ditto. | ||
8 | |||
9 | |||
3 | * linden/indra/newview/llviewerwindow.cpp: | 10 | * linden/indra/newview/llviewerwindow.cpp: |
4 | Added Toggle Fullscreen confirmation and callback methods. | 11 | Added Toggle Fullscreen confirmation and callback methods. |
5 | LLViewerWindow::toggleFullscreenConfirm() | 12 | LLViewerWindow::toggleFullscreenConfirm() |
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp index aeb3b2d..7f654bb 100644 --- a/linden/indra/newview/llpanellogin.cpp +++ b/linden/indra/newview/llpanellogin.cpp | |||
@@ -538,7 +538,7 @@ BOOL LLPanelLogin::handleKeyHere(KEY key, MASK mask) | |||
538 | { | 538 | { |
539 | if (( KEY_RETURN == key ) && (MASK_ALT == mask)) | 539 | if (( KEY_RETURN == key ) && (MASK_ALT == mask)) |
540 | { | 540 | { |
541 | gViewerWindow->toggleFullscreen(FALSE); | 541 | gViewerWindow->toggleFullscreenConfirm(); |
542 | return TRUE; | 542 | return TRUE; |
543 | } | 543 | } |
544 | 544 | ||
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp index 37f9ad2..4194ff7 100644 --- a/linden/indra/newview/llviewermenu.cpp +++ b/linden/indra/newview/llviewermenu.cpp | |||
@@ -3262,7 +3262,7 @@ class LLViewFullscreen : public view_listener_t | |||
3262 | { | 3262 | { |
3263 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) | 3263 | bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) |
3264 | { | 3264 | { |
3265 | gViewerWindow->toggleFullscreen(TRUE); | 3265 | gViewerWindow->toggleFullscreenConfirm(); |
3266 | return true; | 3266 | return true; |
3267 | } | 3267 | } |
3268 | }; | 3268 | }; |