mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 23:09:39 +03:00
Update the current pressed qualifier keys at every RAWKEY event, as the update doesn't work during IDCMP_IDCMPUPDATE
This commit is contained in:
parent
8698245ad2
commit
ec7389a18f
@ -1643,8 +1643,9 @@ void ami_handle_msg(void)
|
||||
break;
|
||||
|
||||
case WMHI_RAWKEY:
|
||||
ami_update_quals(gwin);
|
||||
|
||||
storage = result & WMHI_GADGETMASK;
|
||||
|
||||
if(storage >= IECODE_UP_PREFIX) break;
|
||||
|
||||
GetAttr(WINDOW_InputEvent,gwin->objects[OID_MAIN],(ULONG *)&ie);
|
||||
@ -4372,7 +4373,6 @@ void ami_scroller_hook(struct Hook *hook,Object *object,struct IntuiMessage *msg
|
||||
if(node = (struct Node *)GetTagData(SPEEDBAR_SelectedNode, 0, msg->IAddress)) {
|
||||
GetSpeedButtonNodeAttrs(node, SBNA_UserData, (ULONG *)&url, TAG_DONE);
|
||||
|
||||
ami_update_quals(gwin);
|
||||
if(gwin->key_state & BROWSER_MOUSE_MOD_2) {
|
||||
browser_window_create(url, gwin->bw, NULL, false, true);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user