If we combine two enum values, the result is not a valid enum value
anymore, so it cannot be attributed to an enum variable.
C++ compilers will complain if such an assigment is done.
Signed-off-by: Wander Lairson Costa
---
src/state.c | 10 +-
xkbcommon/xkbcommon.h | 8 --
Neil,
After further consideration, I think your approach is exactly what we need.
Not only are there more possible (backend-dependant) release algorithms
than the two I listed but determining whether to queue or post may be more
complicated. For instance, if a frame is offscreen it may have frame
c
Previously if you add a second finger while moving a window with a
touch grab then the position will keep jumping between the position of
each finger as you move them around. This patch changes it so that it
keeps track of the first touch id that starts the grab and only
updates the grab position w
Previously if you move a window around and temporarily add a second
finger then it will cancel the grab even though the original finger is
still held on the screen. It seems more robust to avoid cancelling the
grab until all fingers have been removed.
---
src/shell.c | 4 +++-
1 file changed, 3 in
When holding the compositor super key the touch events can now be used
to move a window.
---
src/shell.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/src/shell.c b/src/shell.c
index 4a0c122..2822a2b 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -2774,6 +2774,26 @@ mov
Adds a new binding type for touch events via the new function
weston_compositor_add_touch_binding. The binding can only be added for
a touch down with the first finger. The shell now uses this to install
a binding to activate the current surface.
---
src/bindings.c | 36 +
Hi Peter
On Wed, Oct 2, 2013 at 11:13 PM, Peter Hutterer
wrote:
> On Wed, Oct 02, 2013 at 05:44:29PM +0200, David Herrmann wrote:
>> Hi Peter
>>
>> On Fri, Sep 20, 2013 at 12:35 PM, Peter Hutterer
>> > diff --git a/protocol/wayland.xml b/protocol/wayland.xml
>> > index aeb0412..8d10746 100644
>>