Re: [PATCH 02/12] shell.c: Restore maximized and fullscreen window on destroyed output

2014-03-17 Thread Zhang, Xiong Y
On Mon, 2014-03-17 at 19:17 +0200, Ander Conselvan de Oliveira wrote: On 03/07/2014 10:27 AM, Xiong Zhang wrote: > When maximized or fullscreen window is on destroyed output, compositor > can't change these windows to normal window without notify client, > otherwise maximize icon or F11 buttion l

Re: [RFC PATCH libinput] udev: add libinput_udev_rescan_devices()

2014-03-17 Thread Peter Hutterer
On Sat, Mar 15, 2014 at 07:59:29PM +0100, Jonas Ådahl wrote: > On Thu, Mar 13, 2014 at 04:18:20PM +1000, Peter Hutterer wrote: > > When a libinput context for a given seat is initialized, not all devices may > > be available. Some or all devices may be paused by systemd-logind. Waiting > > for > >

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

2014-03-17 Thread Jason Ekstrand
This adds a plugin called screen-share.so. If the screen-share.so module is imported, it will add the CTRL+ALT+s keybinding to start a screen sharing session. If you press CTRL+ALT+S, weston will spawn another copy of weston, this time with the RDP backend, and mirrors the current screen to it an

[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/fulls

[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
This is version 5 of my wl_fullscreen_shell patchset. Version 4 can be found here: http://lists.freedesktop.org/archives/wayland-devel/2014-February/013448.html For easier testing/review, this patch series can also be found on the fullscreen-shell-v5 branch on my github page: https://github.com

[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/Mak

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

2014-03-17 Thread Jason Ekstrand
On startup weston now detects the WAYLAND_SERVER_SOCKET environment variable. If found, weston does not create the display like normal, but instead directly adds a client corresponding to the given fd. This, combined with the fullscreen shell, allows a process to spawn weston and use it as a back

[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 *displ

[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 { struct

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

2014-03-17 Thread Jason Ekstrand
The CURSOR_PLANE capability indicates that the backend has a concept of a cursor plane and can handle a cursor without compositing. This is currently only advertised by the DRM backend. The ARBITRARY_MODE flag specifies that the backend is capable of switching to virtually any resolution. This i

[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 *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/Makefil

[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 d

[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-posi

[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 c

[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..46a53

[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 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 in

Re: [PATCH weston 7/8] protocol, compositor: split wl_viewport setters

2014-03-17 Thread Bill Spitzak
Pekka Paalanen wrote: A zero-area source can theoretically exist: you sample the color exactly at src_x,src_y and use that single color for the whole surface. That's an interesting interpretation, but it implies that the filters for sampling are allowed, and in fact expected, to sample outsid

Suggestions for possible GSoC project proposals regarding Wayland/X11 development?

2014-03-17 Thread Stephen Chandler Paul
Hello, I'm a college student who is looking into taking part in the Google Summer of Code, specifically with X.Org and Wayland. However, I've been having a bit of a challenge finding a project proposal that I think I would be able to implement, and one that involves working with Wayland (or

Re: [PATCH 06/12] compositor-drm: Abstract drm_output_set_mode()

2014-03-17 Thread Ander Conselvan de Oliveira
That's a good clean up. Cheers, Ander On 03/07/2014 10:27 AM, Xiong Zhang wrote: Signed-off-by: Xiong Zhang --- src/compositor-drm.c | 45 +++-- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.

Re: [PATCH 02/12] shell.c: Restore maximized and fullscreen window on destroyed output

2014-03-17 Thread Ander Conselvan de Oliveira
On 03/07/2014 10:27 AM, Xiong Zhang wrote: When maximized or fullscreen window is on destroyed output, compositor can't change these windows to normal window without notify client, otherwise maximize icon or F11 buttion lose its effect after output unplug. Instead we keep these window as maximiz

Re: [PATCH 01/12] shell.c: Set dirty for visible views on destroyed output

2014-03-17 Thread Ander Conselvan de Oliveira
On 03/07/2014 10:27 AM, Xiong Zhang wrote: The geometry for visible views will keep unchanged, weston_view_set_position() doesn't mark these views as dirty. So there is no chance for them to reassign output, then these views will disappear. Signed-off-by: Xiong Zhang --- desktop-shell/shell.c

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

2014-03-17 Thread Nobuhiko Tanibata
2014-03-17 16:15 に Pekka Paalanen さんは書きました: On Mon, 17 Mar 2014 13:48:45 +0900 Nobuhiko Tanibata wrote: 2014-03-17 10:24 に Nobuhiko Tanibata さんは書きました: > 2014-03-15 15:58 に Nobuhiko Tanibata さんは書きました: >> 2014-03-14 23:16 に Pekka Paalanen さんは書きました: >>> On Wed, 12 Mar 2014 23:59:33 +0900 >>> Nobu

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

2014-03-17 Thread Pekka Paalanen
On Mon, 17 Mar 2014 13:48:45 +0900 Nobuhiko Tanibata wrote: > 2014-03-17 10:24 に Nobuhiko Tanibata さんは書きました: > > 2014-03-15 15:58 に Nobuhiko Tanibata さんは書きました: > >> 2014-03-14 23:16 に Pekka Paalanen さんは書きました: > >>> On Wed, 12 Mar 2014 23:59:33 +0900 > >>> Nobuhiko Tanibata wrote: > >>> > A