From 2f45e7ed7170bc945fe9a5e65ce2207c4b99878b Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sat, 26 Mar 2005 10:40:13 +0000 Subject: [PATCH] Update inline documentation to reflect the removal of the strlength field git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12019 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/RootLayer.cpp | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/src/servers/app/RootLayer.cpp b/src/servers/app/RootLayer.cpp index 03ac87f689..682b1759a1 100644 --- a/src/servers/app/RootLayer.cpp +++ b/src/servers/app/RootLayer.cpp @@ -1234,10 +1234,8 @@ void RootLayer::KeyboardEventHandler(int32 code, BPortLink& msg) // 4) int32 repeat count // 5) int32 modifiers // 6) int8[3] UTF-8 data generated - // 7) int8 number of bytes to follow containing the - // generated string - // 8) Character string generated by the keystroke - // 9) int8[16] state of all keys + // 7) Character string generated by the keystroke + // 8) int8[16] state of all keys bigtime_t time; int32 scancode, modifiers; @@ -1433,10 +1431,8 @@ void RootLayer::KeyboardEventHandler(int32 code, BPortLink& msg) // 3) int32 modifier-independent ASCII code for the character // 4) int32 modifiers // 5) int8[3] UTF-8 data generated - // 6) int8 number of bytes to follow containing the - // generated string - // 7) Character string generated by the keystroke - // 8) int8[16] state of all keys + // 6) Character string generated by the keystroke + // 7) int8[16] state of all keys bigtime_t time; int32 scancode, modifiers; @@ -1567,10 +1563,7 @@ void RootLayer::KeyboardEventHandler(int32 code, BPortLink& msg) STRACE(("Unmapped Key Up: 0x%lx\n",scancode)); - Workspace *ws=ActiveWorkspace(); - - WinBorder *target=ws->Focus(); - if(target) + if(FocusWinBorder()) { ServerWindow *win = FocusWinBorder()->Window(); if(win)