On Wed, 7 May 2014 03:26:56 +
"Wang, Quanxian" wrote:
> Thanks Pq's comment. Before you continue my comment, I mentioned one point.
> This is output movement algorithm and it is completely different with
> pre-configuration of output in weston.ini.
> For output, no alive, no movement.
> If y
> -Original Message-
> From: wayland-devel [mailto:wayland-devel-
> boun...@lists.freedesktop.org] On Behalf Of Pekka Paalanen
> Sent: Tuesday, May 06, 2014 5:22 PM
> To: Srivardhan
> Cc: 'Jason Ekstrand'; wayland-devel@lists.freedesktop.org
> Subject: Re: New to Wayland, Need suggestion
Signed-off-by: Srivardhan Hebbar
---
src/wayland-server.c |9 +
1 file changed, 9 insertions(+)
diff --git a/src/wayland-server.c b/src/wayland-server.c
index f2b1b42..57b65ce 100644
--- a/src/wayland-server.c
+++ b/src/wayland-server.c
@@ -788,6 +788,15 @@ bind_display(struct wl_cli
Thanks Pq's comment. Before you continue my comment, I mentioned one point.
This is output movement algorithm and it is completely different with
pre-configuration of output in weston.ini.
For output, no alive, no movement.
If you want to keep pre-configuration in weston.ini when output change, ju
---
shared/cairo-util.h | 3 +++
shared/frame.c | 24
2 files changed, 27 insertions(+)
diff --git a/shared/cairo-util.h b/shared/cairo-util.h
index 4493b0d..7aebb65 100644
--- a/shared/cairo-util.h
+++ b/shared/cairo-util.h
@@ -211,6 +211,9 @@ void
frame_touch_up(
Adding touch support to weston's nested wayland backend to make testing
easier.
https://bugs.freedesktop.org/show_bug.cgi?id=77769
---
src/compositor-wayland.c | 95
1 file changed, 95 insertions(+)
diff --git a/src/compositor-wayland.c b/src/comp
The following two patches add touch support to weston's nested wayland
backend to facilitate testing. The first one adds motion support to
cairo-util and the second actually add the touch listeners in the
compositor.
I'm new to wayland and weston and this is my first work. So any advice
is welcome
Okay, I am trying to build wayland again, from instructions, on a new
machine.
I am stuck trying to compile mesa:
./autogen.sh --prefix=$WLD --enable-gles2 --disable-gallium-egl
--with-egl-platforms=x11,wayland,drm --enable-gbm --enable-shared-glapi
--with-gallium-drivers=r300,r600,swra
Since these are all demo client programs, program termination is an
appropriate response to an out-of-memory situation. Using these
routines keeps the client code more concise.
Signed-off-by: Bryce Harrington
---
clients/calibrator.c|5 +
clients/desktop-shell.c |5 +
Signed-off-by: Bryce Harrington
---
clients/desktop-shell.c |2 +-
clients/editor.c|2 +-
clients/fullscreen.c|2 +-
clients/subsurfaces.c |6 +++---
clients/window.c|4 ++--
clients/wscreensaver.c |2 +-
6 files changed, 9 insertions(+), 9 deletion
Signed-off-by: Bryce Harrington
---
clients/editor.c | 12 ++--
clients/image.c|4 ++--
clients/keyboard.c | 12 ++--
clients/terminal.c |2 +-
4 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/clients/editor.c b/clients/editor.c
index bda3e91..ec
Signed-off-by: Bryce Harrington
---
clients/window.c |8
clients/window.h |2 ++
2 files changed, 10 insertions(+)
diff --git a/clients/window.c b/clients/window.c
index f12ce39..cfc1260 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -5647,3 +5647,11 @@ xrealloc(char *
Signed-off-by: Bryce Harrington
---
clients/editor.c |4 +---
clients/subsurfaces.c |8 ++--
clients/window.c | 13 ++---
3 files changed, 5 insertions(+), 20 deletions(-)
diff --git a/clients/editor.c b/clients/editor.c
index 6ed76d4..b439d9e 100644
--- a/client
As per our discussion last week, here's patches to convert client code
to using xmalloc, xzalloc, xcalloc, and xstrdup where appropriate.
I opted not to change nested.c, because it looked like errors were being
propagated to a higher level for handling, and bombing out on OOM might
not be desired?
Quells warning:
clients/keyboard.c: In function ‘keyboard_handle_key.isra.5’:
clients/keyboard.c:556:11: warning: ‘label’ may be used uninitialized in
this function [-Wuninitialized]
Signed-off-by: Bryce Harrington
---
clients/keyboard.c |2 +-
1 file changed, 1 insertion(+), 1 deletio
On Tue, May 06, 2014 at 02:50:03PM -0700, U. Artie Eoff wrote:
> If data is NULL, then we jumped to error which attempts to
> dereference data. Instead, just close(fd) and return when
> data is NULL.
>
> Signed-off-by: U. Artie Eoff
All three look good, applied.
Kristian
> ---
> src/composit
On Tue, May 06, 2014 at 07:04:15PM +0100, Neil Roberts wrote:
> The zoom translation is just a scale and a translate. The translation
> is calculated based on the coordinates of the pointer which are in
> global space. Previously the calculated translation was transformed by
> the output transforma
On Tue, May 06, 2014 at 04:49:06PM +0300, Ander Conselvan de Oliveira wrote:
> From: Ander Conselvan de Oliveira
>
> We only support recording with GBM_FORMAT_XRGB888 format, so don't try
> to record if the output has a differnt format.
That looks good, applied.
Kristian
>
> https://bugs.free
On Tue, May 06, 2014 at 04:25:40PM +0300, Pekka Paalanen wrote:
> From: Pekka Paalanen
>
> With these, it will only install the Xwayland binary. No Xorg, no
> modules, no cruft. Just 4 files in total here.
Thanks for updating that, all applied.
Kristian
> ---
> xserver.html | 4 +++-
> 1 file
On Tue, May 06, 2014 at 03:54:49PM +0530, vivek wrote:
> Checking for return value in main.c for wcap_decoder_create function
> and mmap, malloc return value in wcap_decoder_create function to avoid
> crashes
Thanks, that looks better.
Kristian
> Signed-off-by: vivek
> ---
> wcap/main.c
On Tue, May 06, 2014 at 03:52:12PM +0530, Srivardhan Hebbar wrote:
> Signed-off-by: Srivardhan Hebbar
> ---
> src/wayland-server.c |9 +
> 1 file changed, 9 insertions(+)
>
> diff --git a/src/wayland-server.c b/src/wayland-server.c
> index f2b1b42..7b32848 100644
> --- a/src/wayland-
On Mon, May 05, 2014 at 04:28:26PM -0700, U. Artie Eoff wrote:
> If for some reason that errno is neither value (ENOMEM or
> EINVAL), then prior to this patch, there would be a NULL
> deref in wl_closure_lookup(...) at the "else if" conditional
> when closure == NULL. Also, closure might not be NUL
On Mon, May 05, 2014 at 02:45:20PM -0700, U. Artie Eoff wrote:
> Signed-off-by: U. Artie Eoff
Applied, thanks.
> ---
> tests/connection-test.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/connection-test.c b/tests/connection-test.c
> index 1213875..659bf68 100644
> --- a/te
On Mon, May 05, 2014 at 02:45:19PM -0700, U. Artie Eoff wrote:
> Signed-off-by: U. Artie Eoff
Thanks, applied.
Kristian
> ---
> src/scanner.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/scanner.c b/src/scanner.c
> index 622d4d8..dd1c7b6 100644
> --- a/src/scan
If data is NULL, then we jumped to error which attempts to
dereference data. Instead, just close(fd) and return when
data is NULL.
Signed-off-by: U. Artie Eoff
---
src/compositor-wayland.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/compositor-wayland.c b/src/c
Signed-off-by: U. Artie Eoff
---
src/compositor-wayland.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
index 35e99a6..3cd308f 100644
--- a/src/compositor-wayland.c
+++ b/src/compositor-wayland.c
@@ -1149,7 +1149,7 @@ wayla
Signed-off-by: U. Artie Eoff
---
src/compositor-wayland.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
index 67f15be..35e99a6 100644
--- a/src/compositor-wayland.c
+++ b/src/compositor-wayland.c
@@ -1723,8 +1723,11 @@
On Mon, May 05, 2014 at 05:02:15PM +0300, Ander Conselvan de Oliveira wrote:
> From: Ander Conselvan de Oliveira
>
> Otherwise it might receive touch events.
I think a better approach is to just hide the tooltip if it (or the panel)
gets touch events. I don't think I agree with Pekka that we ca
The zoom translation is just a scale and a translate. The translation
is calculated based on the coordinates of the pointer which are in
global space. Previously the calculated translation was transformed by
the output transformation so that when the zoom transform is applied
after the output trans
We solved this under X11 with the startup-notification protocol. Ryan
Lortie has been looking at making a DBus-only startup-notification for
other platforms like Wayland.
Since there's an intersection here, I'm going to CC Ryan and have him
provide his thoughts on this, so we don't have duplicate
From: Ander Conselvan de Oliveira
We only support recording with GBM_FORMAT_XRGB888 format, so don't try
to record if the output has a differnt format.
https://bugs.freedesktop.org/show_bug.cgi?id=78199
---
src/compositor-drm.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/compo
Pekka Paalanen writes:
> were you aware of […] perhaps? :-)
Ah, no, I hadn't noticed those patches. Oops!
> Your series is almost identical to Quanxian's, except:
> - wording differences, of course
> - patch 2 checks if output->name is set before sending (can it ever be
> NULL?)
> - patch 2 m
On 05/06/2014 04:17 PM, Ander Conselvan de Oliveira wrote:
On 05/06/2014 01:22 PM, Srivardhan Hebbar wrote:
Signed-off-by: Srivardhan Hebbar
---
src/wayland-server.c |9 +
1 file changed, 9 insertions(+)
diff --git a/src/wayland-server.c b/src/wayland-server.c
index f2b1b42..7b3
From: Pekka Paalanen
Make the syntax look like in the main building page.
---
xserver.html | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/xserver.html b/xserver.html
index fc8cecb..bd4abb7 100644
--- a/xserver.html
+++ b/xserver.html
@@ -47,1
From: Pekka Paalanen
Just refer to the instructions on the main building page instead.
---
xserver.html | 21 ++---
1 file changed, 6 insertions(+), 15 deletions(-)
diff --git a/xserver.html b/xserver.html
index eb1f146..75fb970 100644
--- a/xserver.html
+++ b/xserver.html
@@ -7
From: Pekka Paalanen
With these, it will only install the Xwayland binary. No Xorg, no
modules, no cruft. Just 4 files in total here.
---
xserver.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/xserver.html b/xserver.html
index bd4abb7..dd8ff30 100644
--- a/xserver.ht
From: Pekka Paalanen
---
testing.html | 6 ++
1 file changed, 6 insertions(+)
diff --git a/testing.html b/testing.html
index 21c0b7b..b199d82 100644
--- a/testing.html
+++ b/testing.html
@@ -63,10 +63,16 @@ The Weston maintainer(s) have the right to refuse any
patches that are not accom
b
From: Pekka Paalanen
Drop the branch that does not exist anymore.
Drop DDX build instructions as not needed anymore.
Ditto xorg.conf changes for the special DDXes.
---
xserver.html | 65 +---
1 file changed, 5 insertions(+), 60 deletions(-)
From: Pekka Paalanen
---
xserver.html | 14 ++
1 file changed, 14 insertions(+)
diff --git a/xserver.html b/xserver.html
index 75fb970..fc8cecb 100644
--- a/xserver.html
+++ b/xserver.html
@@ -42,6 +42,20 @@
xserver on 32-bit systems.
+libepoxy
+
+The Xwayland server depends
On 05/06/2014 01:22 PM, Srivardhan Hebbar wrote:
Signed-off-by: Srivardhan Hebbar
---
src/wayland-server.c |9 +
1 file changed, 9 insertions(+)
diff --git a/src/wayland-server.c b/src/wayland-server.c
index f2b1b42..7b32848 100644
--- a/src/wayland-server.c
+++ b/src/wayland-ser
On 05/06/2014 03:40 PM, Pekka Paalanen wrote:
On Tue, 6 May 2014 15:25:40 +0300
Ander Conselvan de Oliveira wrote:
From: Ander Conselvan de Oliveira
Toytoolkit was not designed to handle input from subsurfaces and
instead it expects subsurfaces to have an empty input region. That way
input
On Tue, 6 May 2014 15:25:40 +0300
Ander Conselvan de Oliveira wrote:
> From: Ander Conselvan de Oliveira
>
> Toytoolkit was not designed to handle input from subsurfaces and
> instead it expects subsurfaces to have an empty input region. That way
> input events for subsurfaces are generated on
From: Ander Conselvan de Oliveira
Toytoolkit was not designed to handle input from subsurfaces and
instead it expects subsurfaces to have an empty input region. That way
input events for subsurfaces are generated on the main surface and
there is no need to convert coordinates before reporting the
On Tue, 06 May 2014 17:21:23 +0530
Srivardhan wrote:
>
>
> > -Original Message-
> > From: wayland-devel [mailto:wayland-devel-
> > boun...@lists.freedesktop.org] On Behalf Of Pekka Paalanen
> > Sent: Tuesday, May 06, 2014 5:03 PM
> > To: Srivardhan Hebbar
> > Cc: wayland-devel@lists.fre
On Tue, 06 May 2014 17:09:56 +0530
Srivardhan wrote:
> Sorry, I did not understand it properly. It's not that it is
> boring. :) Is the program like a snooper which captures all the
> packets of Wayland server and Wayland client?
A man-in-the-middle, to be more precise, but yes.
Thanks,
pq
__
> -Original Message-
> From: wayland-devel [mailto:wayland-devel-
> boun...@lists.freedesktop.org] On Behalf Of Pekka Paalanen
> Sent: Tuesday, May 06, 2014 5:03 PM
> To: Srivardhan Hebbar
> Cc: wayland-devel@lists.freedesktop.org
> Subject: Re: [PATCH] doc: Added API documentation for wl
---
src/data-device.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/data-device.c b/src/data-device.c
index 6a81bc8..abab735 100644
--- a/src/data-device.c
+++ b/src/data-device.c
@@ -421,6 +421,7 @@ static void
drag_grab_touch_down(struct weston_t
support frame buttons hovering with touchscreen and
cancel button press if a touch was not released over
the button that was pressed
---
clients/window.c| 14 ++
shared/cairo-util.h |3 +++
shared/frame.c | 44 ++--
3 files chang
if the system doesn't have a pointer device
common_surface_resize will crash on
accessing seat->pointer->button_count. if the system
does have a pointer device, but attempts to resize
a window using touchscreen - nothing happens. here
we implement separate window resizing path for
seat->touch as it
if the system doesn't have a pointer device
do_zoom will crash on accessing seat->pointer->x.
here we implement zoom support on systems with
a touchscreen, touchscreen's last touch point is
simply used instead of pointer's current position
---
desktop-shell/shell.c | 22 --
s
upd: one more patch that fixes frame buttons
reaction for touchscreens
Stanislav Vorobiov (5):
shell: support window resizing using touchscreen
shell: support zooming without a pointer device
data-device: fix crash on systems with no pointer device
exposay: support systems without a pointe
if the system doesn't have a pointer device
exposay_transition_active will crash
in weston_pointer_start_grab(seat->pointer, ...).
here we fix that and also implement exposay support
on systems with a touchscreen
---
desktop-shell/exposay.c | 95 ---
d
> -Original Message-
> From: wayland-devel [mailto:wayland-devel-
> boun...@lists.freedesktop.org] On Behalf Of Pekka Paalanen
> Sent: Tuesday, May 06, 2014 4:21 PM
> To: Srivardhan
> Cc: 'Jason Ekstrand'; wayland-devel@lists.freedesktop.org
> Subject: Re: New to Wayland, Need suggestion
On Tue, 06 May 2014 15:52:12 +0530
Srivardhan Hebbar wrote:
> Signed-off-by: Srivardhan Hebbar
> ---
> src/wayland-server.c |9 +
> 1 file changed, 9 insertions(+)
>
> diff --git a/src/wayland-server.c b/src/wayland-server.c
> index f2b1b42..7b32848 100644
> --- a/src/wayland-serve
On Tue, 06 May 2014 15:59:58 +0530
Srivardhan wrote:
>
> > -Original Message-
> > From: wayland-devel [mailto:wayland-devel-
> > boun...@lists.freedesktop.org] On Behalf Of Pekka Paalanen
> > Sent: Monday, May 05, 2014 5:36 PM
> > To: Srivardhan
> > Cc: 'Jason Ekstrand'; wayland-devel@li
> -Original Message-
> From: wayland-devel [mailto:wayland-devel-
> boun...@lists.freedesktop.org] On Behalf Of Pekka Paalanen
> Sent: Monday, May 05, 2014 5:36 PM
> To: Srivardhan
> Cc: 'Jason Ekstrand'; wayland-devel@lists.freedesktop.org
> Subject: Re: New to Wayland, Need suggestion o
Signed-off-by: Srivardhan Hebbar
---
src/wayland-server.c |9 +
1 file changed, 9 insertions(+)
diff --git a/src/wayland-server.c b/src/wayland-server.c
index f2b1b42..7b32848 100644
--- a/src/wayland-server.c
+++ b/src/wayland-server.c
@@ -788,6 +788,15 @@ bind_display(struct wl_cli
Checking for return value in main.c for wcap_decoder_create function
and mmap, malloc return value in wcap_decoder_create function to avoid
crashes
Signed-off-by: vivek
---
wcap/main.c|4
wcap/wcap-decode.c |9 +
2 files changed, 13 insertions(+)
diff --git a/wcap/m
if the system doesn't have a pointer device
do_zoom will crash on accessing seat->pointer->x.
here we implement zoom support on systems with
a touchscreen, touchscreen's last touch point is
simply used instead of pointer's current position
---
desktop-shell/shell.c | 22 --
s
if the system doesn't have a pointer device
exposay_transition_active will crash
in weston_pointer_start_grab(seat->pointer, ...).
here we fix that and also implement exposay support
on systems with a touchscreen
---
desktop-shell/exposay.c | 95 ---
d
if the system doesn't have a pointer device
common_surface_resize will crash on
accessing seat->pointer->button_count. if the system
does have a pointer device, but attempts to resize
a window using touchscreen - nothing happens. here
we implement separate window resizing path for
seat->touch as it
I've grouped these patches:
http://lists.freedesktop.org/archives/wayland-devel/2014-May/014576.html
http://lists.freedesktop.org/archives/wayland-devel/2014-May/014580.html
into a patchset, I've also added 2 more: one that fixes dnd crash and
one that adds touchscreen support to exposay
Stanisl
---
src/data-device.c | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/data-device.c b/src/data-device.c
index 6a81bc8..a80f271 100644
--- a/src/data-device.c
+++ b/src/data-device.c
@@ -650,11 +650,13 @@ data_device_start_drag(struct wl_client *client, s
On Tue, 6 May 2014 07:26:32 +
"Wang, Quanxian" wrote:
>
>
> > -Original Message-
> > From: Pekka Paalanen [mailto:ppaala...@gmail.com]
> > Sent: Tuesday, May 6, 2014 2:36 PM
> > To: Wang, Quanxian
> > Cc: wayland-devel@lists.freedesktop.org; Jason Ekstrand
> > (ja...@jlekstrand.net)
> -Original Message-
> From: Pekka Paalanen [mailto:ppaala...@gmail.com]
> Sent: Tuesday, May 6, 2014 2:36 PM
> To: Wang, Quanxian
> Cc: wayland-devel@lists.freedesktop.org; Jason Ekstrand
> (ja...@jlekstrand.net); Bryce W. Harrington (b.harring...@samsung.com);
> Fu, Michael; Hardening (
On Fri, 02 May 2014 19:22:39 +0100
Neil Roberts wrote:
> Hi,
>
> Currently Weston has a problem that it always puts new surfaces on the
> same output as the one the first pointer is in. I guess the idea is
> that most of the time surfaces are created as a result of mouse
> events and there is us
66 matches
Mail list logo