[PATCH weston] xwayland: Remove transform listener when destroying the wm

2013-07-19 Thread Louis-Francis Ratté-Boulianne
Fix a segfault occuring after the last X window was closed. --- src/xwayland/window-manager.c |1 + 1 file changed, 1 insertion(+) diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index fd91004..57a5d99 100644 --- a/src/xwayland/window-manager.c +++ b/src/xwayland/wi

[PATCH 1/2] xdg_shell: Add a new shell protocol.

2013-07-19 Thread antognolli
From: Rafael Antognolli xdg_shell is a protocol aimed to substitute wl_shell in the long term, but will not be part of the wayland core protocol. It starts as a non-stable API, aimed to be used as a development place at first, and once features are defined as required by several desktop shells, w

[PATCH 3/7] xdg-shell: Remove SHELL_SURFACE_MAXIMIZED and use maximized state.

2013-07-19 Thread antognolli
From: Rafael Antognolli Use the newly added maximized state to implement the maximized surface type. Change each place where a surface type change was in place to check for the maximized state too. Setting the surface type to any type should unset the maximized state flag, to keep the same beha

[PATCH 4/7] xdg-shell: Remove SHELL_SURFACE_FULLSCREEN and use fullscreen state.

2013-07-19 Thread antognolli
From: Rafael Antognolli Use the newly added fullscreen state to implement the fullscreen surface type. Change each place where a surface type change was in place to check for the fullscreen state too. --- src/xdg-surface.c | 108 +- 1 file cha

[PATCH 0/7] XDG-shell and some changes

2013-07-19 Thread antognolli
From: Rafael Antognolli In this patch series, I change weston to use the xdg-shell protocol extension, added to wayland in another patch series. Its build is optional and will disable build of desktop-shell, and also make weston use xdg-surface instead of desktop-shell. Then the toytoolkit is als

[PATCH 7/7] toytoolkit: Make toytoolkit use state_set related calls.

2013-07-19 Thread antognolli
From: Rafael Antognolli Since there's no more surface_set_maximized and surface_set_fullscreen, the toytoolkit must use the new state_set almost equivalent calls. --- clients/xdg_window.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/clients/xdg_window.c b/clien

[PATCH 5/7] xdg-shell: Implement state set functions.

2013-07-19 Thread antognolli
From: Rafael Antognolli The maximized and fullscreen state flags were added, but used only by the original shell_surface_set_maximized and shell_surface_set_fullscreen functions, keeping the previous behavior, removing any other flag that is not the requested one. Now new functions were added th

[PATCH 2/2] protocol: add state set functions for maximized and fullscreen.

2013-07-19 Thread antognolli
From: Rafael Antognolli These functions only differ from the previous one because they request that the given state is set, without changing the surface type, thus removing any previously state that was set on it. Both states can be used at the same time, and the states can be set or unset indep

[PATCH 6/7] xdg-shell: Remove surface_set_maximized and surface_set_fullscreen.

2013-07-19 Thread antognolli
From: Rafael Antognolli Remove these requests since they are not in the xdg-shell protocol anymore. --- src/xdg-surface.c | 38 -- 1 file changed, 38 deletions(-) diff --git a/src/xdg-surface.c b/src/xdg-surface.c index 32fea0f..cbc7126 100644 --- a/src/xdg-s