changeset 2619:4d5467e57115

Update the readme with the important info about the button press/release changes.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 23 Jul 2021 21:02:36 +0000
parents 156ad91481eb
children dcd71b04cc46
files readme.txt
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/readme.txt	Fri Jul 23 20:26:56 2021 +0000
+++ b/readme.txt	Fri Jul 23 21:02:36 2021 +0000
@@ -56,10 +56,23 @@
 Ports to iOS and Android are underway.
 
 Changes from version 3.1:
+Changed handling of button 3 press and release events.
+    WARNING: This could be a breaking change for apps handling
+    mouse button 3.  Windows, Mac and GTK now pass button 3 as
+    the mask (value 4) instead of the button number (value 3).
+    OS/2 and the related motion event passed buttons as a mask.
+    In these value 3 is buttons 1 and 2 together.  Button 
+    press and release events are only for a single button...
+    so this would never happen allowing value 3 for button 3.
+    To allow the same code to work for button presses and motion
+    events, I am standardizing on using the masks for both.
+    If you use button 3 press/release, please audit code for 3.2.
 Added initial support for GTK4. --with-gtk4 is now available.
     GTK4 support is less complete than GTK3, a number of features
     of the GTK3 version are no longer possible in GTK4 like:
     Taskbar icon support, MDI, gravity and non-callback drawing.
+    Also at the time of this writing, WebKitGTK does not officially
+    support GTK4, so HTML is also unsupported.
 Added initial support for Wayland on GTK3 and GTK4.
     Wayland is not in my opinion ready for prime time, many features,
     possibly a half a dozen functions, dealing with coordinates,