Index: src/cmd/devdraw/x11-srv.c =================================================================== --- a/src/cmd/devdraw/x11-srv.c +++ b/src/cmd/devdraw/x11-srv.c @@ -573,6 +573,12 @@ } switch(k) { + case XK_Shift_L: + if(xev->type == KeyPress) + c |= ShiftMask; + else + c &= ~ShiftMask; + goto kbutton; case XK_Control_L: if(xev->type == KeyPress) c |= ControlMask; @@ -580,7 +586,6 @@ c &= ~ControlMask; goto kbutton; case XK_Alt_L: - case XK_Shift_L: if(xev->type == KeyPress) c |= Mod1Mask; else @@ -590,6 +595,8 @@ if(m.buttons || kbuttons) { altdown = 0; // used alt kbuttons = 0; + if(c & ShiftMask) + kbuttons |= 1; if(c & ControlMask) kbuttons |= 2; if(c & Mod1Mask)

AltStyle によって変換されたページ (->オリジナル) /