[PATCH weston v4 11/15] Automatically select the wayland backend if WAYLAND_SOCKET is set

2014-02-25 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/compositor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor.c b/src/compositor.c index f04bcf9..bc62c36 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -4088,7 +4088,7 @@ int main(int argc, char *argv

[PATCH weston v4 13/15] Add support for running with a primary client

2014-02-25 Thread Jason Ekstrand
backend. Signed-off-by: Jason Ekstrand --- src/compositor.c | 46 +- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index bc62c36..afa7c47 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -4000,6

[PATCH weston v4 05/15] simple-shm: Add fullscreen shell support

2014-02-25 Thread Jason Ekstrand
This makes simple-shm act like a very simple fullscreen shell client. This is the kind of interaction one would expect out of a boot splash screen or similar. Signed-off-by: Jason Ekstrand --- Makefile.am | 5 + clients/simple-shm.c | 31 ++- 2 files

[PATCH weston] Fix the pixman renderer with respect to output transforms

2014-02-25 Thread Jason Ekstrand
this patch. Therefore, this patch should fix the regression while maintaining the added functionality from fa1b3055. Signed-off-by: Jason Ekstrand --- src/pixman-renderer.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pixman-renderer.c b/src/pixman

Re: [PATCH] protocol: Change wl_surface.damage to be in buffer coordinates.

2014-02-26 Thread Jason Ekstrand
peration. However, if the EGL implementation does not know the proper height of the surface, the computed rectangles will be wrong. This means that, not only is eglSwapBuffers broken, but eglSwapBuffersWithDamage is broken even worse. Unless we start re-writing EGL extensions, I think we're s

Re: [PATCH 0/6] Add weston randr protocol

2014-02-26 Thread Jason Ekstrand
e. For standard applications, I believe the intention is that any modesetting they do will be done in a very controlled manner through the shell. Thanks, --Jason Ekstrand On Wed, Feb 26, 2014 at 9:27 PM, Quanxian Wang wrote: > These patches will provide weston randr protocol, > its impl

RE: [PATCH 1/6] Add weston randr protocol

2014-03-04 Thread Jason Ekstrand
x27;m not saying that you don't have a good reason for wanting to be able to change the output configuration. If what you're doing is something other than just on-the-fly weston configuration, I have a feeling that you have a more specific use in mind that would be better served by a

Re: [PATCH 1/6] Add weston randr protocol

2014-03-05 Thread Jason Ekstrand
hey have devices with everything between 100 DPI and 450 DPI and the UI more-or-less looks the same across devices. They simply scale the icons and text as needed. What you are doing might be the opposite (different UI size on the same hardware) but the implementation could be exactly the same.

Re: [PATCH weston] weston-launch: Let the user use her real shell

2014-03-06 Thread Jason Ekstrand
rotected stuff. Please double-check this. --Jason Ekstrand On Mar 6, 2014 8:03 AM, "Quentin Glidic" wrote: > From: Quentin Glidic > > Signed-off-by: Quentin Glidic > --- > > This patch restores the old behaviour if the user wants to. This keeps > /bin/sh around f

Re: [PATCH weston-ivi-shell 02/15] ivi application protocol:

2014-03-06 Thread Jason Ekstrand
for clients. I do have a couple comments below. --Jason Ekstrand > > Signed-off-by: Nobuhiko Tanibata > --- > protocol/ivi-application.xml | 88 > 1 file changed, 88 insertions(+) > create mode 100644 protocol/ivi-application

Re: [PATCH weston-ivi-shell 02/15] ivi application protocol:

2014-03-06 Thread Jason Ekstrand
On Mar 6, 2014 7:08 PM, "Nobuhiko Tanibata" < nobuhiko_tanib...@xddp.denso.co.jp> wrote: > > 2014-03-07 00:21 に Jason Ekstrand さんは書きました: > >> On Mar 6, 2014 3:53 AM, "Nobuhiko Tanibata" >> wrote: >> > >> > Add interface ivi_applic

RE: [PATCH 1/6] Add weston randr protocol

2014-03-06 Thread Jason Ekstrand
guration and I don't thin an output configuration standard would be of any real use. Hope that helps, --Jason Ekstrand > > Thanks for everyone's comment and help. > > Regards > > Quanxian Wang > > >-Original Message- > >From: wayland-devel-boun...@

Re: [PATCH weston-ivi-shell v2 02/15] ivi application protocol:

2014-03-07 Thread Jason Ekstrand
s always get created. If surface_create can throw a non-fatal error, we need to decide what happens to the new ivi_surface object. One way to do this would be to have the error/warning event on the ivi_surface itself instead of on ivi_application. Then the client would know that if it recieve

Re: [PATCH weston v4 01/15] Add a fullscreen shell protocol

2014-03-07 Thread Jason Ekstrand
Hi Bryce, Thanks for reviewing! I'll get the typo changes made and look into canceled vs. cancelled. More comments below On Mar 6, 2014 9:38 PM, "Bryce W. Harrington" wrote: > > On Tue, Feb 25, 2014 at 07:26:33PM -0600, Jason Ekstrand wrote: > > Si

[PATCH] x11-backend: Add a --scale option

2014-03-07 Thread Jason Ekstrand
From: Jason Ekstrand --- man/weston.man | 4 src/compositor-x11.c | 11 +++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/man/weston.man b/man/weston.man index f2d1b4c..fd1c7a5 100644 --- a/man/weston.man +++ b/man/weston.man @@ -186,6 +186,10 @@ X windows

Re: [PATCH weston v4 01/15] Add a fullscreen shell protocol

2014-03-07 Thread Jason Ekstrand
On Mar 7, 2014 1:14 PM, "Bryce W. Harrington" wrote: > > On Fri, Mar 07, 2014 at 11:31:16AM -0600, Jason Ekstrand wrote: > > > > + If the size of the presented surface changes, the resulting output > > > > + is undefined. The compositor m

Re: [PATCH weston v4 15/15] Add a screen sharing plugin

2014-03-11 Thread Jason Ekstrand
On Mar 10, 2014 9:29 PM, "Bryce W. Harrington" wrote: > > On Mon, Mar 10, 2014 at 08:42:41PM -0500, Jason Ekstrand wrote: > > > > +static void > > > > +ss_seat_handle_pointer_enter(void *data, struct wl_pointer *pointer, > > > > +

Re: [PATCH weston v4 00/15] Add a fullscreen shell protocol

2014-03-11 Thread Jason Ekstrand
On Mar 11, 2014 11:36 AM, "Andrew Wedgbury" wrote: > > Hi Jason, > > > On Wed, 26 Feb 2014, Jason Ekstrand wrote: > >> 4) Screen sharing and recording. The security discussion on how to allow >>clients to request screen sharing and things of the li

Re: [PATCH 2/3] weston:Add wl_output name event

2014-03-15 Thread Jason Ekstrand
ersion 2. That should also clear up Bryce's comment. Thanks, --Jason Ekstrand > + > + if (version >= 2) > wl_output_send_done(resource); > } > > -- > 1.8.1.2 > > ___ > wayland-devel mailing

Re: [PATCH weston v4 00/15] Add a fullscreen shell protocol

2014-03-15 Thread Jason Ekstrand
On Mar 14, 2014 9:43 AM, "Andrew Wedgbury" wrote: > > Hi Jason, > > > On Tue, 11 Mar 2014, Jason Ekstrand wrote: >> >> > >> > Thanks for this. I've been putting together a prototype using our VNC >> server - I've implemented the req

Re: [PATCH 1/3] wayland: Add wl_output name event

2014-03-15 Thread Jason Ekstrand
ended that client could input a character > + output name as a parameter or log. > + > + > + > If we're going to add an event, we need to bump the wl_output version number. Right now, wl_output is at version 2, so it needs to

RE: [PATCH 2/3] weston:Add wl_output name event

2014-03-15 Thread Jason Ekstrand
On Mar 15, 2014 4:57 AM, "Wang, Quanxian" wrote: > > > > > > From: Jason Ekstrand [mailto:ja...@jlekstrand.net] > Sent: Saturday, March 15, 2014 3:54 AM > To: Wang, Quanxian > Cc: ppaala...@gmail.com; wayland-devel@lists.freedesktop.org > > Subject: Re:

[PATCH fullscreen-shell v5 01/18] Add a fullscreen shell protocol

2014-03-17 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- protocol/fullscreen-shell.xml | 206 ++ 1 file changed, 206 insertions(+) create mode 100644 protocol/fullscreen-shell.xml diff --git a/protocol/fullscreen-shell.xml b/protocol/fullscreen-shell.xml new file mode 100644

[PATCH fullscreen-shell v5 04/18] Add possible capabilities CURSOR_PLANE and ARBITRARY_MODE

2014-03-17 Thread Jason Ekstrand
is currently only advertised in the RDP backend. While it's a bit buggy right now, it should be capable of this. Signed-off-by: Jason Ekstrand --- src/compositor-drm.c | 5 + src/compositor-rdp.c | 2 ++ src/compositor.h | 6 ++ 3 files changed, 13 insertions(+) diff --git

[PATCH fullscreen-shell v5 17/18] gl-renderer: Fix read_pixels in the case where we have output borders

2014-03-17 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/gl-renderer.c | 4 1 file changed, 4 insertions(+) diff --git a/src/gl-renderer.c b/src/gl-renderer.c index 29d96f3..6adc88a 100644 --- a/src/gl-renderer.c +++ b/src/gl-renderer.c @@ -964,6 +964,10 @@ gl_renderer_read_pixels(struct weston_output

[PATCH fullscreen-shell v5 10/18] weston-fullscreen: Add wl_fullscreen_shell support

2014-03-17 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- Makefile.am | 3 + clients/fullscreen.c | 163 +++ 2 files changed, 154 insertions(+), 12 deletions(-) diff --git a/Makefile.am b/Makefile.am index 5b6b523..464d086 100644 --- a/Makefile.am +++ b

[PATCH fullscreen-shell v5 05/18] Add a wl_fullscreen_shell implementation

2014-03-17 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- Makefile.am | 22 + configure.ac| 8 + fullscreen-shell/fullscreen-shell.c | 830 3 files changed, 860 insertions(+) create mode 100644 fullscreen-shell/fullscreen-shell.c

[PATCH fullscreen-shell v5 02/18] Generate/build the fullscreen shell protocol files

2014-03-17 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 5ff4f83..e181528 100644 --- a/Makefile.am +++ b/Makefile.am @@ -920,6 +920,7 @@ EXTRA_DIST += \ protocol/text-cursor

[PATCH fullscreen-shell v5 06/18] simple-shm: Add wl_fullscreen_shell support

2014-03-17 Thread Jason Ekstrand
This makes simple-shm act like a very simple fullscreen shell client. This is the kind of interaction one would expect out of a boot splash screen or similar. Signed-off-by: Jason Ekstrand --- Makefile.am | 6 +- clients/simple-shm.c | 31 ++- 2 files

[PATCH fullscreen-shell v5 09/18] toytoolkit: Don't crash if wl_data_device_manager is not present

2014-03-17 Thread Jason Ekstrand
This is primaraly to get weston-fullscreen to run on compositors that lack copy-paste support. Signed-off-by: Jason Ekstrand --- clients/window.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/clients/window.c b/clients/window.c index da93604

[PATCH fullscreen-shell v5 15/18] compositor-wayland: Properly handle running inside a compositor that does not provide keymaps

2014-03-17 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/compositor-wayland.c | 61 +--- 1 file changed, 37 insertions(+), 24 deletions(-) diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c index 965f3c5..8256fa1 100644 --- a/src/compositor-wayland.c +++ b

[PATCH fullscreen-shell v5 14/18] Automatically select the wayland backend if WAYLAND_SOCKET is set

2014-03-17 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/compositor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor.c b/src/compositor.c index 919f4c7..437c37d 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -4086,7 +4086,7 @@ int main(int argc, char *argv

[PATCH fullscreen-shell v5 13/18] compositor-wayland: Add a --sprawl option

2014-03-17 Thread Jason Ekstrand
This forces weston to create one output for every parent output. This is enabled by default if it detects a wl_fullscreen_shell. The --sprawl option is primarily to enable this on wl_shell. Signed-off-by: Jason Ekstrand --- src/compositor-wayland.c | 10 +++--- src/compositor.c

[PATCH fullscreen-shell v5 03/18] Add a signal for when a seat updates its capabilities

2014-03-17 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/compositor.h | 1 + src/input.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/compositor.h b/src/compositor.h index 8fb8afb..67d8ef9 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -495,6 +495,7 @@ struct weston_seat

[PATCH fullscreen-shell v5 11/18] weston-fullscreen: Add cursor drawing support and properly handle WL_FULLSCREEN_SHELL_CAPABILITY_CURSOR_PLANE

2014-03-17 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- clients/fullscreen.c | 102 +-- 1 file changed, 98 insertions(+), 4 deletions(-) diff --git a/clients/fullscreen.c b/clients/fullscreen.c index 247232b..1bf36b1 100644 --- a/clients/fullscreen.c +++ b/clients

[PATCH fullscreen-shell v5 08/18] toytoolkit: Expose output make and model

2014-03-17 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- clients/window.c | 22 ++ clients/window.h | 6 ++ 2 files changed, 28 insertions(+) diff --git a/clients/window.c b/clients/window.c index ccc333e..da93604 100644 --- a/clients/window.c +++ b/clients/window.c @@ -349,6 +349,8 @@ struct

[PATCH fullscreen-shell v5 00/18] Add a fullscreen shell protocol

2014-03-17 Thread Jason Ekstrand
received the capability. * Incorperated various fixes from Bryce Harrington. Thanks, Bryce! Jason Ekstrand (18): Add a fullscreen shell protocol Generate/build the fullscreen shell protocol files Add a signal for when a seat updates its capabilities Add possible capabilities

[PATCH fullscreen-shell v5 12/18] compositor-wayland: Add support for running on top of wl_fullscreen_shell

2014-03-17 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- Makefile.am | 3 + src/compositor-wayland.c | 470 --- 2 files changed, 451 insertions(+), 22 deletions(-) diff --git a/Makefile.am b/Makefile.am index 464d086..a2f9038 100644 --- a/Makefile.am +++ b

[PATCH fullscreen-shell v5 16/18] Add support for running with a primary client

2014-03-17 Thread Jason Ekstrand
backend. Signed-off-by: Jason Ekstrand --- src/compositor.c | 46 +- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 437c37d..6ad666d 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -3998,6

[PATCH fullscreen-shell v5 07/18] toytoolkit: Only require xdg_shell if the window is not custom

2014-03-17 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- clients/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/window.c b/clients/window.c index 3136a7d..ccc333e 100644 --- a/clients/window.c +++ b/clients/window.c @@ -4368,7 +4368,7 @@ window_create_internal(struct display

[PATCH fullscreen-shell v5 18/18] Add a screen sharing plugin

2014-03-17 Thread Jason Ekstrand
es is outside the scope of this patch so it is hard-coded for now. Signed-off-by: Jason Ekstrand Reviewed-by: Bryce Harrington --- Makefile.am| 22 ++ configure.ac | 13 + src/screen-share.c | 1083 3 files changed, 1118 inser

Re: [PATCH 1/3] wayland: Add wl_output name event

2014-03-18 Thread Jason Ekstrand
n-readable alias to an output; it may > be sent after binding the output object. It is intended that the client > can use this output name as a parameter or display it in logs. > """ > > I glanced at the other patches and they look technically correct, but I > think w

Re: [PATCH 2/3] weston: Add wl_output name event

2014-03-18 Thread Jason Ekstrand
compositor.c > +++ b/src/compositor.c > @@ -3044,6 +3044,9 @@ bind_output(struct wl_client *client, > mode->refresh); > } > > + if (version >= 3) > + wl_output_send_name(resource, output->name); > + You nee

Re: [PATCH 3/3] shell: Add wl_output name event

2014-03-18 Thread Jason Ekstrand
ta, > + struct wl_output *wl_output, > + const char *name) > +{ > +} > + > static const struct wl_output_listener output_listener = { > display_handle_geometry, > display_handle_mode, > displ

RE: [PATCH 2/3] weston:Add wl_output name event

2014-03-18 Thread Jason Ekstrand
On Mar 16, 2014 5:30 AM, "Wang, Quanxian" wrote: > > > > > > From: Jason Ekstrand [mailto:ja...@jlekstrand.net] > Sent: Saturday, March 15, 2014 9:10 PM > > To: Wang, Quanxian > Cc: ppaala...@gmail.com; wayland-devel@lists.freedesktop.org > Subject: RE:

Re: [PATCH 0/3] Add wl_output name event

2014-03-19 Thread Jason Ekstrand
Quaxian, I looked over the latest versions, and I think they all look good now from a technical perspective. I'm still not 100% sure that this is needed, but I think I'm ok with it. --Jason Ekstrand On Wed, Mar 19, 2014 at 12:30 AM, Quanxian Wang wrote: > This event contains a h

Re: [PATCH weston 0/8] wl_viewport enhancements

2014-03-20 Thread Jason Ekstrand
Hi Pekka, I've been meaning to get around to this one. Sorry it took me so long. On Mar 20, 2014 2:46 AM, "Pekka Paalanen" wrote: > > On Fri, 14 Mar 2014 14:38:10 +0200 > Pekka Paalanen wrote: > > > From: Pekka Paalanen > > > > Hi, > > > > this series replaces the first 5 patches from > > http:

Re: Effort for upgrading from 1.3 to 1.5

2014-03-20 Thread Jason Ekstrand
#x27;s accepted by that particular > person, but even that is not enough to get into Wayland/Weston > upstream. For that you need to convince Kristian, who seems to be > extremely busy nowadays. Agreed. Personally, I like the direction the protocol has taken. Unfortunately, I

Re: [PATCH weston 0/8] wl_viewport enhancements

2014-03-20 Thread Jason Ekstrand
On Thu, Mar 20, 2014 at 8:04 AM, Pekka Paalanen wrote: > On Thu, 20 Mar 2014 07:22:33 -0500 > Jason Ekstrand wrote: > > > Hi Pekka, > > I've been meaning to get around to this one. Sorry it took me so long. > > Hi Jason, > > no worries. > >

Re: [PATCH] Make RDP backend supports arbitrary modes

2014-03-20 Thread Jason Ekstrand
eason? Thanks, --Jason Ekstrand On Tue, Mar 18, 2014 at 12:15 PM, Hardening wrote: > This patch removes the extra modes parameter for the RDP compositor. And > make it support any mode that is requested (be aware that RDP client may > not > support all possible modes, especially odd resol

Re: [PATCH fullscreen-shell v5 18/18] Add a screen sharing plugin

2014-03-27 Thread Jason Ekstrand
Andrew, Thanks for reviewing. Comments follow. On Mar 27, 2014 7:02 AM, "Andrew Wedgbury" wrote: > > Hi Jason, > > A few comments I have from trying out your fullscreen-shell changes: > > > On Tue, 18 Mar 2014, Jason Ekstrand wrote: > >> +static st

[RFC libwayland] Track protocol object versions inside wl_proxy.

2014-04-01 Thread Jason Ekstrand
This provides a standardized mechanism for tracking protocol object versions in client code. The wl_display object is created with version 1. Every time an object is created from within wl_registry_bind, it gets the bound version. Every other time an object is created, it simply inherits it's ver

Re: [RFC libwayland] Track protocol object versions inside wl_proxy.

2014-04-02 Thread Jason Ekstrand
27;m open to other suggestions. --Jason Ekstrand On Apr 2, 2014 12:28 AM, "Jason Ekstrand" wrote: > This provides a standardized mechanism for tracking protocol object > versions in client code. The wl_display object is created with version 1. > Every time an object is created

Re: [RFC libwayland] Track protocol object versions inside wl_proxy.

2014-04-02 Thread Jason Ekstrand
ng */ else /* Do something else */ In particular, there's a wl_surface.damage issue that we haven't sorted out. In the solution that I think we're ultimately going to go with, clients will have to submit damage differently based on the surface version number. I hope that makes

Re: [PATCH] Add an option to disable client initiated resizes

2014-04-02 Thread Jason Ekstrand
t returns FALSE? Both > just mean that weston's size is different than the RDP window size, so I > think the results should be the same. > Actually, I *think* what he's doing here is sane. However, we should probably return FALSE in both cases. --Jason Ekstrand ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH] Add an option to disable client initiated resizes

2014-04-02 Thread Jason Ekstrand
Kristian, Other than the "return FALSE" mentioned below, this looks good-to-go. --Jason Ekstrand On Wed, Apr 2, 2014 at 7:43 PM, Jason Ekstrand wrote: > > > > On Wed, Apr 2, 2014 at 7:08 PM, Bill Spitzak wrote: > >> Hardening wrote: >> >> +

[PATCH fullscreen-shell v6 10/19] weston-fullscreen: Add wl_fullscreen_shell support

2014-04-02 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- Makefile.am | 3 + clients/fullscreen.c | 163 +++ 2 files changed, 154 insertions(+), 12 deletions(-) diff --git a/Makefile.am b/Makefile.am index 5b6b523..464d086 100644 --- a/Makefile.am +++ b

[PATCH fullscreen-shell v6 05/19] Add a wl_fullscreen_shell implementation

2014-04-02 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- Makefile.am | 22 + configure.ac| 8 + fullscreen-shell/fullscreen-shell.c | 830 3 files changed, 860 insertions(+) create mode 100644 fullscreen-shell/fullscreen-shell.c

[PATCH fullscreen-shell v6 07/19] toytoolkit: Only require xdg_shell if the window is not custom

2014-04-02 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- clients/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/window.c b/clients/window.c index 5ba7322..6f89ae6 100644 --- a/clients/window.c +++ b/clients/window.c @@ -4359,7 +4359,7 @@ window_create_internal(struct display

[PATCH fullscreen-shell v6 12/19] compositor-wayland: Add support for running on top of wl_fullscreen_shell

2014-04-02 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- Makefile.am | 3 + src/compositor-wayland.c | 470 --- 2 files changed, 451 insertions(+), 22 deletions(-) diff --git a/Makefile.am b/Makefile.am index 464d086..a2f9038 100644 --- a/Makefile.am +++ b

[PATCH fullscreen-shell v6 11/19] weston-fullscreen: Add cursor drawing support and properly handle WL_FULLSCREEN_SHELL_CAPABILITY_CURSOR_PLANE

2014-04-02 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- clients/fullscreen.c | 103 +-- 1 file changed, 99 insertions(+), 4 deletions(-) diff --git a/clients/fullscreen.c b/clients/fullscreen.c index 247232b..7dc4374 100644 --- a/clients/fullscreen.c +++ b/clients

[PATCH fullscreen-shell v6 01/19] Add a fullscreen shell protocol

2014-04-02 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- protocol/fullscreen-shell.xml | 206 ++ 1 file changed, 206 insertions(+) create mode 100644 protocol/fullscreen-shell.xml diff --git a/protocol/fullscreen-shell.xml b/protocol/fullscreen-shell.xml new file mode 100644

[PATCH fullscreen-shell v6 14/19] Automatically select the wayland backend if WAYLAND_SOCKET is set

2014-04-02 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/compositor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor.c b/src/compositor.c index 6b90bd8..362e959 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -4168,7 +4168,7 @@ int main(int argc, char *argv

[PATCH fullscreen-shell v6 00/19] Add a fullscreen shell protocol

2014-04-02 Thread Jason Ekstrand
iated resizes Jason Ekstrand (18): Add a fullscreen shell protocol Generate/build the fullscreen shell protocol files Add a signal for when a seat updates its capabilities Add possible capabilities CURSOR_PLANE and ARBITRARY_MODE Add a wl_fullscreen_shell implementation simple-shm

[PATCH fullscreen-shell v6 13/19] compositor-wayland: Add a --sprawl option

2014-04-02 Thread Jason Ekstrand
This forces weston to create one output for every parent output. This is enabled by default if it detects a wl_fullscreen_shell. The --sprawl option is primarily to enable this on wl_shell. Signed-off-by: Jason Ekstrand --- src/compositor-wayland.c | 10 +++--- src/compositor.c

[PATCH fullscreen-shell v6 17/19] gl-renderer: Fix read_pixels in the case where we have output borders

2014-04-02 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/gl-renderer.c | 4 1 file changed, 4 insertions(+) diff --git a/src/gl-renderer.c b/src/gl-renderer.c index dc50cb0..c5b2a1b 100644 --- a/src/gl-renderer.c +++ b/src/gl-renderer.c @@ -964,6 +964,10 @@ gl_renderer_read_pixels(struct weston_output

[PATCH fullscreen-shell v6 18/19] compositor-rdp: Add an option to disable client initiated resizes

2014-04-02 Thread Jason Ekstrand
. This new flag allows to disable that behaviour. If the flag is set, the new behaviour is that the RDP peer will be instructed to resize to the size of the desktop. Reviewed-by: Jason Ekstrand --- This is basically the same as the one Hardening sent to the list earlier today. I just added the

[PATCH fullscreen-shell v6 03/19] Add a signal for when a seat updates its capabilities

2014-04-02 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/compositor.h | 1 + src/input.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/compositor.h b/src/compositor.h index cbeab6f..37ad17f 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -495,6 +495,7 @@ struct weston_seat

[PATCH fullscreen-shell v6 19/19] Add a screen sharing plugin

2014-04-02 Thread Jason Ekstrand
es is outside the scope of this patch so it is hard-coded for now. Signed-off-by: Jason Ekstrand --- Makefile.am| 22 ++ configure.ac | 13 + src/screen-share.c | 1082 3 files changed, 1117 insertions(+) create mode 100644 src/s

[PATCH fullscreen-shell v6 02/19] Generate/build the fullscreen shell protocol files

2014-04-02 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 5ff4f83..e181528 100644 --- a/Makefile.am +++ b/Makefile.am @@ -920,6 +920,7 @@ EXTRA_DIST += \ protocol/text-cursor

[PATCH fullscreen-shell v6 09/19] toytoolkit: Don't crash if wl_data_device_manager is not present

2014-04-02 Thread Jason Ekstrand
This is primaraly to get weston-fullscreen to run on compositors that lack copy-paste support. Signed-off-by: Jason Ekstrand --- clients/window.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/clients/window.c b/clients/window.c index 5309f31

[PATCH fullscreen-shell v6 15/19] compositor-wayland: Properly handle running inside a compositor that does not provide keymaps

2014-04-02 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/compositor-wayland.c | 61 +--- 1 file changed, 37 insertions(+), 24 deletions(-) diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c index f1b4526..52ee6e6 100644 --- a/src/compositor-wayland.c +++ b

[PATCH fullscreen-shell v6 16/19] Add support for running with a primary client

2014-04-02 Thread Jason Ekstrand
backend. Signed-off-by: Jason Ekstrand --- src/compositor.c | 46 +- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 362e959..c293218 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -4080,6

[PATCH fullscreen-shell v6 08/19] toytoolkit: Expose output make and model

2014-04-02 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- clients/window.c | 22 ++ clients/window.h | 6 ++ 2 files changed, 28 insertions(+) diff --git a/clients/window.c b/clients/window.c index 6f89ae6..5309f31 100644 --- a/clients/window.c +++ b/clients/window.c @@ -348,6 +348,8 @@ struct

[PATCH fullscreen-shell v6 04/19] Add possible capabilities CURSOR_PLANE and ARBITRARY_MODE

2014-04-02 Thread Jason Ekstrand
is currently only advertised in the RDP backend. While it's a bit buggy right now, it should be capable of this. Signed-off-by: Jason Ekstrand --- src/compositor-drm.c | 5 + src/compositor-rdp.c | 4 +++- src/compositor.h | 6 ++ 3 files changed, 14 insertions(+), 1 del

[PATCH fullscreen-shell v6 06/19] simple-shm: Add wl_fullscreen_shell support

2014-04-02 Thread Jason Ekstrand
This makes simple-shm act like a very simple fullscreen shell client. This is the kind of interaction one would expect out of a boot splash screen or similar. Signed-off-by: Jason Ekstrand --- Makefile.am | 6 +- clients/simple-shm.c | 31 ++- 2 files

Re: [PATCH v2] Add an option to disable client initiated resizes

2014-04-03 Thread Jason Ekstrand
Kristian, Use this one instead of the "fixed" one I included in my patchset. It's better. --Jason Ekstrand On Apr 3, 2014 1:50 AM, "Hardening" wrote: > This patch adds an option to the RDP compositor to disable > desktop resizes initiated by RDP peer. The cu

[PATCH fullscreen-shell v6.1 19/19] Add a screen sharing plugin

2014-04-03 Thread Jason Ekstrand
es is outside the scope of this patch so it is hard-coded for now. Signed-off-by: Jason Ekstrand --- The difference between this and the other is a one-line bugfix. Makefile.am| 22 ++ configure.ac | 13 + src/screen-share.c | 1084 ++

[PATCH] screen-share: re-enable planes when finished

2014-04-03 Thread Jason Ekstrand
--- src/screen-share.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/screen-share.c b/src/screen-share.c index 8432fe6..08f7427 100644 --- a/src/screen-share.c +++ b/src/screen-share.c @@ -949,6 +949,8 @@ shared_output_destroy(struct shared_output *so) { struct ss_shm_buffer *

Re: [PATCH weston] Always use glTexImage2D instead of glTexSubImage2D for first upload

2014-04-04 Thread Jason Ekstrand
888. We should probably detect this and make sure glTexImage2D gets called again to reset the internal format. --Jason Ekstrand On Fri, Apr 4, 2014 at 10:24 AM, Neil Roberts wrote: > Previously when uploading SHM data we would initialise the texture > with glTexImage2D and NULL data when the buf

[PATCH] compositor-rdp: Remove unneeded client->Close call

2014-04-04 Thread Jason Ekstrand
The client->Close call is unneeded as that is already implied by returning FALSE. --- src/compositor-rdp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c index fc7dfb2..aecc0a8 100644 --- a/src/compositor-rdp.c +++ b/src/compositor-rdp.c @@ -681,7 +

Re: [PATCH] protocol: Correct typo 'suppot'

2014-04-08 Thread Jason Ekstrand
On Apr 8, 2014 4:05 PM, "Bryce W. Harrington" wrote: > > > Signed-off-by: Bryce Harrington > --- > protocol/fullscreen-shell.xml |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/protocol/fullscreen-shell.xml b/protocol/fullscreen-shell.xml > index 3c2cf3c..939c2ba 1006

Re: [RFC libwayland] Track protocol object versions inside wl_proxy.

2014-04-10 Thread Jason Ekstrand
t we have no way to know what all the intermediate versions are, so they're going to have to do that for all but the latest version anyway. > > On Wed, 2 Apr 2014 09:48:29 -0500 > Jason Ekstrand wrote: > > > It's worth noting that there is one small backwards-compata

Re: [RFC libwayland] Track protocol object versions inside wl_proxy.

2014-04-11 Thread Jason Ekstrand
On Fri, Apr 11, 2014 at 2:03 AM, Pekka Paalanen wrote: > On Thu, 10 Apr 2014 09:42:55 -0500 > Jason Ekstrand wrote: > > > On Thu, Apr 10, 2014 at 6:37 AM, Pekka Paalanen > wrote: > > > > > Hi Jason, > > > > > > thanks for working on this, it d

[PATCH] gl-renderer: Fix a typo in the output_set_border description

2014-04-11 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- src/gl-renderer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gl-renderer.h b/src/gl-renderer.h index db42f6c..bdfe93e 100644 --- a/src/gl-renderer.h +++ b/src/gl-renderer.h @@ -75,8 +75,8 @@ struct gl_renderer_interface

[PATCH] Add a client for testing compositor damage handling

2014-04-11 Thread Jason Ekstrand
Signed-off-by: Jason Ekstrand --- Makefile.am | 12 + clients/simple-damage.c | 869 2 files changed, 881 insertions(+) create mode 100644 clients/simple-damage.c diff --git a/Makefile.am b/Makefile.am index c2df8b6..eb05a47 100644

Re: cannot create opengl by dynamically loading wayland symbols from library

2014-04-16 Thread Jason Ekstrand
array_constructor after forming a variable arguments to a >> > single argument using some wl_proxy object signature which I have no access to >> > in main wayland interface. >> > >> > dlsym option of using rtld_now doesnot work. >> > >> > How to implement such functionality in wayland or provide a way to create a app >> > with no linking at build time. >> >> Have you looked at SDL2? >> http://hg.libsdl.org/SDL/file/tip/src/video/wayland >> >> To me it seems like it uses dlopen and dlsym equivalents to load >> Wayland libraries. I don't know if it is complete or in use yet, >> there seems to be also a non-dlopen path. Thanks, --Jason Ekstrand ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

[PATCH] desktop-shell: Get rid of get_shell_client

2014-04-16 Thread Jason Ekstrand
only ever used one of them. Signed-off-by: Jason Ekstrand --- desktop-shell/shell.c | 54 +-- 1 file changed, 22 insertions(+), 32 deletions(-) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 59fa99c..0e4329b 100644 --- a/desktop

Re: [PATCH] desktop-shell: Get rid of get_shell_client

2014-04-17 Thread Jason Ekstrand
On Thu, Apr 17, 2014 at 12:28 AM, Kristian Høgsberg wrote: > On Wed, Apr 16, 2014 at 09:12:10PM -0500, Jason Ekstrand wrote: > > We now carry the shell_client around with each shell_surface. This is > much > > more reliable than tacitly assuming that there is only one wl_shel

Re: [PATCH wayland] connection: Don't write past the end of the connection buffer

2014-04-17 Thread Jason Ekstrand
On Apr 17, 2014 10:37 AM, "Hardening" wrote: > > Le 17/04/2014 17:20, Ander Conselvan de Oliveira a écrit : > >> From: Ander Conselvan de Oliveira >> >> If a message was too big to fit in the connection buffer, the code >> in wl_buffer_put would just write past the end of it. >> >> I haven't seen

Re: [PATCH] Add --no-input option to rpi backend

2014-04-18 Thread Jason Ekstrand
#x27;t think making it global would be easy right now, but it's worth thinking about. Other than that, the patch looks pretty good to me. --Jason Ekstrand > Signed-off-by: Fernando Herrera > --- > src/compositor-rpi.c | 29 ++--- > src/compositor.c |

Re: help: is there any way to use integer 64 type in protocol?

2014-04-20 Thread Jason Ekstrand
kka did in the presentation extension and split it into two 32-bit parts. What do you want to represent that needs a 64-bit type? Thanks, --Jason Ekstrand > > The presentation extension could make use of a 64-bit type, too. > > > Thanks, > pq > ___

Re: help: is there any way to use integer 64 type in protocol?

2014-04-21 Thread Jason Ekstrand
On Sun, Apr 20, 2014 at 8:36 PM, Wang, Quanxian wrote: > > > > > *From:* Jason Ekstrand [mailto:ja...@jlekstrand.net] > *Sent:* Monday, April 21, 2014 6:32 AM > *To:* Pekka Paalanen > *Cc:* Wang, Quanxian; wayland-devel@lists.freedesktop.org > *Subject:* Re: help: is t

Re: help: is there any way to use integer 64 type in protocol?

2014-04-21 Thread Jason Ekstrand
On Sun, Apr 20, 2014 at 5:41 PM, Thiago Macieira wrote: > Em dom 20 abr 2014, às 17:31:48, Jason Ekstrand escreveu: > > Adding 64-bit types wouldn't be too hard. It would involve adding a > > int64_t an uint64_t types to wl_argument (I'd call them U and I > per

[PATCH] desktop-shell: Properly handle seat hotplugging

2014-04-21 Thread Jason Ekstrand
Previously, desktop-shell would only create its internal shell_seat object for each seat available when the desktop-shell module is loaded. This is a problem any time seats are created dynamically. In particular, the Wayland and RDP backends create seats on an as-needed basis and they weren't get

[PATCH] Use the correct width/height when transforming surfaces with viewports.

2014-04-21 Thread Jason Ekstrand
Previously, because of the wrong width/height, weston_surface_to_buffer_* would return the wrong values when wl_viewport was used in combination with wl_surface.set_buffer_transform. Signed-off-by: Jason Ekstrand --- src/compositor.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions

[PATCH] pixman-renderer: Use width/height_from_buffer for buffer transforms

2014-04-21 Thread Jason Ekstrand
This fixes an issue in the pixman renderer where it would not render surfaces correctly if both wl_viewport and wl_surface.set_buffer_transform were used. Signed-off-by: Jason Ekstrand --- src/pixman-renderer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pixman

Re: [PATCH] shell: support window resizing using touchscreen

2014-04-22 Thread Jason Ekstrand
me, void *data, int32_t id, int x, int > y) > { > struct frame_touch *touch = frame_touch_get(frame, data); > struct frame_button *button = frame_find_button(frame, x, y); > - enum theme_location location; > + enum theme_location location = THEME_LOCATION_EXTERIOR; > > if (id > 0) > - return; > + return location; > > if (touch && button) { > touch->button = button; > frame_button_press(touch->button); > - return; > + return location; > } > If we're touching a button, we should return THEME_LOCATION_TITLEBAR because that's where the touch event occurs. We should only return a default THEME_LOCATION_EXTERIOR if, for some reason, we cannot call theme_get_location. > location = theme_get_location(frame->theme, x, y, > @@ -820,6 +820,8 @@ frame_touch_down(struct frame *frame, void *data, > int32_t id, int x, int y) > default: > break; > } > + > + return location; > } > > void > Other than that, the frame bits look reasonable. --Jason Ekstrand ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH v2] shell: support window resizing using touchscreen

2014-04-22 Thread Jason Ekstrand
nt32_t id, int x, int > y); > > void > diff --git a/shared/frame.c b/shared/frame.c > index 35e6b65..4c910b1 100644 > --- a/shared/frame.c > +++ b/shared/frame.c > @@ -782,20 +782,20 @@ frame_pointer_button(struct frame *frame, void *data, > return loca

Re: [PATCH v3] shell: support window resizing using touchscreen

2014-04-23 Thread Jason Ekstrand
} > > -void > +enum theme_location > frame_touch_down(struct frame *frame, void *data, int32_t id, int x, int > y) > { > struct frame_touch *touch = frame_touch_get(frame, data); > struct frame_button *button = frame_find_button(frame, x,

<    1   2   3   4   5   6   7   8   >