git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode/AxWin3 - Cleaning up stray debug
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin3_src
/
WM
/
wm_input.c
diff --git
a/Usermode/Applications/axwin3_src/WM/wm_input.c
b/Usermode/Applications/axwin3_src/WM/wm_input.c
index
223dbef
..
5f6ef85
100644
(file)
--- a/
Usermode/Applications/axwin3_src/WM/wm_input.c
+++ b/
Usermode/Applications/axwin3_src/WM/wm_input.c
@@
-34,8
+34,8
@@
tWindow *WM_int_GetWindowAtPos(int X, int Y)
for(win = ret->FirstChild; win; win = win->NextSibling)
{
if( !(win->Flags & WINFLAG_SHOW) ) continue ;
for(win = ret->FirstChild; win; win = win->NextSibling)
{
if( !(win->Flags & WINFLAG_SHOW) ) continue ;
- if( X < win->X || X >= win->X + win->
W )
continue;
- if( Y < win->Y || Y >= win->Y + win->
H )
continue;
+ if( X < win->X || X >= win->X + win->
RealW )
continue;
+ if( Y < win->Y || Y >= win->Y + win->
RealH )
continue;
next_win = win; // Overwrite as we want the final rendered window
}
}
next_win = win; // Overwrite as we want the final rendered window
}
}
@@
-129,8
+129,6
@@
void WM_Input_KeyFire(uint32_t Character, uint32_t Scancode)
// TODO: Properly translate into KeySyms and Unicode
// TODO: Properly translate into KeySyms and Unicode
- // TODO: Shortcuts
-
msg.KeySym = Scancode;
msg.UCS32 = Character;
WM_SendMessage(NULL, gpWM_FocusedWindow, WNDMSG_KEYFIRE, sizeof(msg), &msg);
msg.KeySym = Scancode;
msg.UCS32 = Character;
WM_SendMessage(NULL, gpWM_FocusedWindow, WNDMSG_KEYFIRE, sizeof(msg), &msg);
UCC
git Repository :: git.ucc.asn.au