Thanks! Do you consider adding an option to stop interpreting Command as Alt?
On Thu, Oct 10, 2013 at 1:30 AM, Ken Thomases ken@codeweavers.com wrote:
dlls/winemac.drv/cocoa_window.m | 22 ++++++++++++++++++++-- dlls/winemac.drv/macdrv_cocoa.h | 2 ++ dlls/winemac.drv/macdrv_main.c | 7 +++++++ 3 files changed, 29 insertions(+), 2 deletions(-)
On Oct 9, 2013, at 4:49 PM, Phil Krylov wrote:
Thanks!
You're welcome.
Do you consider adding an option to stop interpreting Command as Alt?
I have not considered it. What would be gained? Do you want the Command key interpreted as the Windows key? Do you want something else to happen when Command is pressed?
Cheers, Ken
Hello,
On Thu, Oct 10, 2013 at 3:24 AM, Ken Thomases ken@codeweavers.com wrote:
On Oct 9, 2013, at 4:49 PM, Phil Krylov wrote:
Do you consider adding an option to stop interpreting Command as Alt?
I have not considered it. What would be gained? Do you want the Command key interpreted as the Windows key? Do you want something else to happen when Command is pressed?
Every time I press Cmd-Space to switch keyboard layouts, Wine activates menu as if I would have pressed Alt, so I have to press Command once again to exit it. It does not happen in Windows, though, when I use Alt-Shift to switch layouts, so the real problem is not related to Alt interpretation of Cmd, but to incorrect emulation of Windows behaviour when a keyboard layout switch hotkey is pressed.
On the other hand, Option is labeled as Alt, and works this way with the X11 driver, so it seems logical to process Cmd as Win key. And it would hack around my actual problem ;)
-- Ph.
On Oct 10, 2013, at 3:11 AM, Phil Krylov wrote:
Every time I press Cmd-Space to switch keyboard layouts, Wine activates menu as if I would have pressed Alt, so I have to press Command once again to exit it. It does not happen in Windows, though, when I use Alt-Shift to switch layouts, so the real problem is not related to Alt interpretation of Cmd, but to incorrect emulation of Windows behaviour when a keyboard layout switch hotkey is pressed.
Does the attached patch help?
By the way, you should file a bug report about this issue so that it doesn't get lost.
Regards, Ken
Hello,
On Mon, Oct 21, 2013 at 6:47 AM, Ken Thomases ken@codeweavers.com wrote:
On Oct 10, 2013, at 3:11 AM, Phil Krylov wrote:
Every time I press Cmd-Space to switch keyboard layouts, Wine activates menu as if I would have pressed Alt, so I have to press Command once again to exit it. It does not happen in Windows, though, when I use Alt-Shift to switch layouts, so the real problem is not related to Alt interpretation of Cmd, but to incorrect emulation of Windows behaviour when a keyboard layout switch hotkey is pressed.
Does the attached patch help?
Yes it does, thanks! Although the menu still blinks momentarily when I release Command.
By the way, you should file a bug report about this issue so that it doesn't get lost.
Yes I know, but I always want to examine a bug deeper before reporting, providing a patch if possible, and had no time to do it yet.
-- Ph.
On Oct 21, 2013, at 4:23 AM, Phil Krylov wrote:
On Mon, Oct 21, 2013 at 6:47 AM, Ken Thomases ken@codeweavers.com wrote:
Does the attached patch help?
Yes it does, thanks! Although the menu still blinks momentarily when I release Command.
I have submitted a tweaked version of that patch which should avoid that flicker. http://source.winehq.org/patches/data/99962
Cheers, Ken