Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ef016c32
Commit
ef016c32
authored
Jun 01, 2009
by
André Hentschel
Committed by
Alexandre Julliard
Jun 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Fix Ctrl+Shift+Tab translation.
parent
d7098d0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
input.c
dlls/user32/tests/input.c
+2
-0
keyboard.c
dlls/winex11.drv/keyboard.c
+1
-1
No files found.
dlls/user32/tests/input.c
View file @
ef016c32
...
...
@@ -1285,6 +1285,8 @@ static void test_ToUnicode(void)
state
[
VK_SHIFT
]
|=
HIGHEST_BIT
;
state
[
VK_LSHIFT
]
|=
HIGHEST_BIT
;
ret
=
ToUnicode
(
VK_TAB
,
SC_TAB
,
state
,
wStr
,
2
,
0
);
ok
(
ret
==
0
,
"ToUnicode for CTRL + SHIFT + Tab didn't return 0 (was %i)
\n
"
,
ret
);
ret
=
ToUnicode
(
VK_RETURN
,
SC_RETURN
,
state
,
wStr
,
2
,
0
);
todo_wine
ok
(
ret
==
0
,
"ToUnicode for CTRL + SHIFT + Return didn't return 0 (was %i)
\n
"
,
ret
);
}
...
...
dlls/winex11.drv/keyboard.c
View file @
ef016c32
...
...
@@ -2618,7 +2618,7 @@ INT CDECL X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, const BYTE *lpKeyState
#endif
/* Special case: X turns shift-tab into ISO_Left_Tab. */
/* Here we change it back. */
if
(
keysym
==
XK_ISO_Left_Tab
)
if
(
keysym
==
XK_ISO_Left_Tab
&&
!
(
e
.
state
&
ControlMask
)
)
{
bufW
[
0
]
=
0x09
;
ret
=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment