summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@bitmath.org>2010-07-13 11:06:03 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-08-05 22:48:37 +0200
commit49922aacc4e6361e2a11dd2ce8460c80b41ab493 (patch)
tree95c9c59a98380423d7b79bccf593533d1c68752f /docs
parent7c277ee54e7d0ea0c44b304897049a01e2d1a44a (diff)
Add grail problems and solutions documentation
Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
Diffstat (limited to 'docs')
-rw-r--r--docs/grail-problems.txt30
1 files changed, 29 insertions, 1 deletions
diff --git a/docs/grail-problems.txt b/docs/grail-problems.txt
index ab95c28..0713288 100644
--- a/docs/grail-problems.txt
+++ b/docs/grail-problems.txt
@@ -29,4 +29,32 @@ A gesture starts, continues, and either completes or aborts.
29A client that listens to a subset of gestures will have to keep track. 29A client that listens to a subset of gestures will have to keep track.
30Compatible to Qt approach. 30Compatible to Qt approach.
31 31
32Would there be client feedback on confirmation? 32
33Allow clients to listen to different gestures
34---------------------------------------------
35
36Clients listening on certain gestures will get those gesture events that
37apply to the client, which makes it possible for different clients to
38listen to different types of gestures. For instance, having an MT drawing
39program next to a web browser, a two finger stroke in the drawing program
40will result in two lines, whereas in the web browser, it will scroll the
41text.
42
43
44Propagate gesture events based on the focus point
45-------------------------------------------------
46
47Like pointer events, a gesture applies to a window or a window manager,
48based on where it is performed on the screen. In order to route the gesture
49events to the right window, we propagate them through the window hierarchy
50based on the gesture focus points. Based on the target windows, their
51respective gesture type masks, and the active set of gestures, final
52gesture events are emitted to the right windows.
53
54
55Allow Window Manager to grab system-wide gestures
56-------------------------------------------------
57
58Even if clients are not listening to global window-manager gestures, it
59could well be that no other gestures should be displayed while the global
60gesture is taking place.