Commit 28d1efb9 authored by ROOL's avatar ROOL 🤖
Browse files

Fix lost menu clicks on icons when window partly off screen

Detail:
  Don't trap menu clicks on icons when the window isn't fully on-screen.
  Ref https://www.riscosopen.org/forum/forums/4/topics/14961?page=1
Admin:
  Submission for Clipboard Support bounty.

Version 5.68. Tagged as 'Wimp-5_68'
parent 14056f15
...@@ -9,12 +9,12 @@ ...@@ -9,12 +9,12 @@
GBLS Module_ApplicationDate GBLS Module_ApplicationDate
GBLS Module_HelpVersion GBLS Module_HelpVersion
GBLS Module_ComponentName GBLS Module_ComponentName
Module_MajorVersion SETS "5.67" Module_MajorVersion SETS "5.68"
Module_Version SETA 567 Module_Version SETA 568
Module_MinorVersion SETS "" Module_MinorVersion SETS ""
Module_Date SETS "04 Jan 2020" Module_Date SETS "04 Jan 2020"
Module_ApplicationDate SETS "04-Jan-20" Module_ApplicationDate SETS "04-Jan-20"
Module_ComponentName SETS "Wimp" Module_ComponentName SETS "Wimp"
Module_FullVersion SETS "5.67" Module_FullVersion SETS "5.68"
Module_HelpVersion SETS "5.67 (04 Jan 2020)" Module_HelpVersion SETS "5.68 (04 Jan 2020)"
END END
/* (5.67) /* (5.68)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* *
*/ */
#define Module_MajorVersion_CMHG 5.67 #define Module_MajorVersion_CMHG 5.68
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 04 Jan 2020 #define Module_Date_CMHG 04 Jan 2020
#define Module_MajorVersion "5.67" #define Module_MajorVersion "5.68"
#define Module_Version 567 #define Module_Version 568
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "04 Jan 2020" #define Module_Date "04 Jan 2020"
...@@ -16,6 +16,6 @@ ...@@ -16,6 +16,6 @@
#define Module_ComponentName "Wimp" #define Module_ComponentName "Wimp"
#define Module_FullVersion "5.67" #define Module_FullVersion "5.68"
#define Module_HelpVersion "5.67 (04 Jan 2020)" #define Module_HelpVersion "5.68 (04 Jan 2020)"
#define Module_LibraryVersionInfo "5:67" #define Module_LibraryVersionInfo "5:68"
...@@ -2350,6 +2350,8 @@ justtellhim ...@@ -2350,6 +2350,8 @@ justtellhim
[ CnP [ CnP
CMP R4,#0 CMP R4,#0
BMI %FT00 ; not over an icon, so no point checking on cnpwritable actions BMI %FT00 ; not over an icon, so no point checking on cnpwritable actions
TST R2,#2 ; menu button?
BNE %FT00
TST R6,#ibb_cnpwriteable TST R6,#ibb_cnpwriteable
BNE mouseaction_cnpwriteable BNE mouseaction_cnpwriteable
00 00
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment