mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-18 02:02:36 +03:00
Amiga: Remove context help from OS3 options GUI
This is firing without anything being pressed
This commit is contained in:
parent
aa4476cb5f
commit
c72b5671d7
@ -2146,6 +2146,8 @@ static BOOL ami_gui_opts_event(void *w)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case WMHI_GADGETHELP:
|
case WMHI_GADGETHELP:
|
||||||
|
#ifdef __amigaos4__
|
||||||
|
/* FIXME: this is firing on OS3.2 without HELP being pressed */
|
||||||
if((result & WMHI_GADGETMASK) == 0) {
|
if((result & WMHI_GADGETMASK) == 0) {
|
||||||
/* Pointer not over our window */
|
/* Pointer not over our window */
|
||||||
ami_help_open(AMI_HELP_MAIN, ami_gui_get_screen());
|
ami_help_open(AMI_HELP_MAIN, ami_gui_get_screen());
|
||||||
@ -2153,6 +2155,7 @@ static BOOL ami_gui_opts_event(void *w)
|
|||||||
/* TODO: Make this sensitive to the tab the user is currently on */
|
/* TODO: Make this sensitive to the tab the user is currently on */
|
||||||
ami_help_open(AMI_HELP_PREFS, ami_gui_get_screen());
|
ami_help_open(AMI_HELP_PREFS, ami_gui_get_screen());
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WMHI_GADGETUP:
|
case WMHI_GADGETUP:
|
||||||
|
Loading…
Reference in New Issue
Block a user