vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

commit 6c054b5cf94f0a5b872451f50a5eac2517dbd3c5
parent 5cd271f7812306dfdf8109b0d1bff648845ea947
Author: Russ Cox <rsc@swtch.com>
Date:   Sun, 29 Jun 2008 14:13:36 -0400

9vx/OSX: fix Alt handling, remove redundant Ctl-Opt

Diffstat:
src/9vx/osx/screen.c | 7+------
1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/src/9vx/osx/screen.c b/src/9vx/osx/screen.c @@ -115,9 +115,6 @@ _screeninit(void) AppendMenuItemTextWithCFString(osx.vmenu, CFSTR("Full Screen"), 0, CmdFullScreen, &ix); SetMenuItemCommandKey(osx.vmenu, ix, 0, 'F'); - AppendMenuItemTextWithCFString(osx.vmenu, - CFSTR("Ctl-Opt exits full screen"), - kMenuItemAttrDisabled, CmdFullScreen, &ix); InsertMenu(osx.vmenu, GetMenuID(osx.wmenu)); DrawMenuBar(); @@ -413,11 +410,9 @@ kbdevent(EventRef event) break; case kEventRawKeyModifiersChanged: - if(mod == (optionKey|controlKey) && osx.isfullscreen) - fullscreen(); if(!osx.buttons && !osx.kbuttons){ if(mod == optionKey) - kbdputc(kbdq, Kalt); + latin1putc(Kalt, kputc); break; }