diff options
| author | Henrik Rydberg <rydberg@bitmath.org> | 2010-07-13 11:06:03 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-08-05 22:48:37 +0200 |
| commit | 49922aacc4e6361e2a11dd2ce8460c80b41ab493 (patch) | |
| tree | 95c9c59a98380423d7b79bccf593533d1c68752f /docs | |
| parent | 7c277ee54e7d0ea0c44b304897049a01e2d1a44a (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.txt | 30 |
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. | |||
| 29 | A client that listens to a subset of gestures will have to keep track. | 29 | A client that listens to a subset of gestures will have to keep track. |
| 30 | Compatible to Qt approach. | 30 | Compatible to Qt approach. |
| 31 | 31 | ||
| 32 | Would there be client feedback on confirmation? | 32 | |
| 33 | Allow clients to listen to different gestures | ||
| 34 | --------------------------------------------- | ||
| 35 | |||
| 36 | Clients listening on certain gestures will get those gesture events that | ||
| 37 | apply to the client, which makes it possible for different clients to | ||
| 38 | listen to different types of gestures. For instance, having an MT drawing | ||
| 39 | program next to a web browser, a two finger stroke in the drawing program | ||
| 40 | will result in two lines, whereas in the web browser, it will scroll the | ||
| 41 | text. | ||
| 42 | |||
| 43 | |||
| 44 | Propagate gesture events based on the focus point | ||
| 45 | ------------------------------------------------- | ||
| 46 | |||
| 47 | Like pointer events, a gesture applies to a window or a window manager, | ||
| 48 | based on where it is performed on the screen. In order to route the gesture | ||
| 49 | events to the right window, we propagate them through the window hierarchy | ||
| 50 | based on the gesture focus points. Based on the target windows, their | ||
| 51 | respective gesture type masks, and the active set of gestures, final | ||
| 52 | gesture events are emitted to the right windows. | ||
| 53 | |||
| 54 | |||
| 55 | Allow Window Manager to grab system-wide gestures | ||
| 56 | ------------------------------------------------- | ||
| 57 | |||
| 58 | Even if clients are not listening to global window-manager gestures, it | ||
| 59 | could well be that no other gestures should be displayed while the global | ||
| 60 | gesture is taking place. | ||
