diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2011-10-30 18:05:04 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2011-10-31 01:09:36 +0100 |
commit | bdfb8609a382b1fc378f5d9d05a3d94f6314086b (patch) | |
tree | c81996eab40df066181a23aa51a34e91e8d2d088 /src/core/window-private.h | |
parent | 141a353a520c31fbe03cf28df441df886df46dcb (diff) | |
download | mutter-wip/multitouch.tar.gz |
window: Update drag hotspot as new touches approachwip/multitouch
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.
Diffstat (limited to 'src/core/window-private.h')
-rw-r--r-- | src/core/window-private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/window-private.h b/src/core/window-private.h index 466dae4e0..759b4e5e0 100644 --- a/src/core/window-private.h +++ b/src/core/window-private.h @@ -329,6 +329,9 @@ struct _MetaWindow /* if TRUE, window didn't yet get the FocusIn for window->focus_keyboard */ guint expecting_focus_in : 1; + /* if TRUE, tiling mode is held regardless of newer touch updates */ + guint touch_hold_tiling_mode : 1; + /* Keyboard currently owning the window focus, or NULL */ MetaDevice *focus_keyboard; |