#51052: gtk3 @3.20.2 +quartz build error on Mac OS X 10.7 ------------------------+---------------------- Reporter: martijn@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gtk3 | ------------------------+---------------------- Comment (by friedrich.beckmann@…): Replying to [comment:12 mojca@…]:
The problem is that Lion "fully supports" all those gestures and almost all the apps I use do. I would be motivated to spend some time getting it right. Maybe some of the functions were only added in 10.8. There is certainly a way to get it working on 10.7, but I need more time (or more experience or some helping hand to lead me a bit).
The problem is in my view the handling of gesture events in gtk. gtk expects to have a sequence of events in different phases like START, CHANGE, CHANGE, ..., CHANGE, END. This is on the gdk level. In wayland this event sequence is produced by the libinput library (I think). See https://wayland.freedesktop.org/libinput/doc/latest/gestures.html However on MacOS the gestures were introduced without this phase idea firsthand. So you could get a single event telling you a Magnify or Rotate event. I had to use the phase information provided by the events to produce also the gdk required sequence of events. This phase concept was introduced later as we see. Friedrich -- Ticket URL: <https://trac.macports.org/ticket/51052#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X