Fixed a typo. No functional change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39355 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2010-11-08 14:46:05 +00:00
parent bcb394d6b1
commit 4772e0b22e
3 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -159,7 +159,7 @@ KeyboardFilter::Filter(BMessage* message, EventTarget** _target,
message->FindInt32("key", &key);
message->FindInt32("modifiers", &modifiers);
if ((message->what == B_KEY_DOWN || message->what == B_UNMAPPED_KEY_DOWN)) {
// Check for safe video mode (cmd + ctrl + escape)
if (key == 0x01 && (modifiers & B_COMMAND_KEY) != 0
@@ -919,7 +919,7 @@ Desktop::ActivateWindow(Window* window)
AutoWriteLocker _(fWindowLock);
NotifyWindowActitvated(window);
NotifyWindowActivated(window);
bool windowOnOtherWorkspace = !window->InWorkspace(fCurrentWorkspace);
if (windowOnOtherWorkspace
@@ -1413,7 +1413,7 @@ Desktop::AddWindow(Window *window)
}
_ChangeWindowWorkspaces(window, 0, window->Workspaces());
NotifyWindowAdded(window);
UnlockAllWindows();
@@ -1433,7 +1433,7 @@ Desktop::RemoveWindow(Window *window)
fSubsetWindows.RemoveWindow(window);
_ChangeWindowWorkspaces(window, window->Workspaces(), 0);
NotifyWindowRemoved(window);
UnlockAllWindows();
+3 -3
View File
@@ -12,7 +12,7 @@
DesktopListener::~DesktopListener()
{
}
@@ -100,7 +100,7 @@ DesktopObservable::NotifyKeyPressed(uint32 what, int32 key, int32 modifiers)
for (DesktopListener* listener = fDesktopListenerList.First();
listener != NULL; listener = fDesktopListenerList.GetNext(listener))
listener->KeyPressed(what, key, modifiers);
listener->KeyPressed(what, key, modifiers);
}
@@ -186,7 +186,7 @@ DesktopObservable::NotifyWindowResized(Window* window)
void
DesktopObservable::NotifyWindowActitvated(Window* window)
DesktopObservable::NotifyWindowActivated(Window* window)
{
if (fWeAreInvoking)
return;
+3 -3
View File
@@ -36,7 +36,7 @@ public:
virtual void WindowAdded(Window* window) = 0;
virtual void WindowRemoved(Window* window) = 0;
virtual void KeyPressed(uint32 what, int32 key,
int32 modifiers) = 0;
virtual void MouseEvent(BMessage* message) = 0;
@@ -102,7 +102,7 @@ public:
void NotifyWindowMoved(Window* window);
void NotifyWindowResized(Window* window);
void NotifyWindowActitvated(Window* window);
void NotifyWindowActivated(Window* window);
void NotifyWindowSentBehind(Window* window,
Window* behindOf);
void NotifyWindowWorkspacesChanged(Window* window,
@@ -133,7 +133,7 @@ private:
};
DesktopListenerDLList fDesktopListenerList;
// prevent recursive invokes
bool fWeAreInvoking;
};