window: Update drag hotspot as new touches approach

Any number of touches >= 3 starts a drag operation, but the
window jumped around as new touches joined. So recalculate
the touch drag area/hotspot and tiling mode as expected
as soon as touches enter/leave the drag op.
This commit is contained in:
Carlos Garnacho
2011-10-30 18:05:04 +01:00
committed by Jasper St. Pierre
parent de0d9e4da8
commit 2e8682d607
3 changed files with 159 additions and 46 deletions

View File

@@ -161,6 +161,7 @@ struct _MetaTouchInfo
gdouble initial_root_y;
guint notified : 1;
guint use_for_hotspot : 1;
};
struct _MetaDisplay