[PATCH weston 5/6] xdg-shell: Rewrite documentation

2014-11-22 Thread Jasper St. Pierre
This rewrites basically all of the text inside xdg-shell to be up to date, clearer, and rid of wl_shell and X11 terminology. --- protocol/xdg-shell.xml | 256 ++--- 1 file changed, 156 insertions(+), 100 deletions(-) diff --git a/protocol/xdg-shell.xml

[PATCH weston 3/6] xdg-shell: Remove the flags from get_xdg_popup

2014-11-22 Thread Jasper St. Pierre
There haven't been any ideas for flags, so we don't need a useless, unused parameter hanging around. Any future ideas should be done with a new request entirely. --- clients/window.c | 3 +-- desktop-shell/shell.c | 2 +- protocol/xdg-shell.xml | 1 - 3 files changed, 2 insertions(+), 4 del

[PATCH weston 1/6] xdg-shell: Take a xdg_surface as the parent surface

2014-11-22 Thread Jasper St. Pierre
There is no other valid surface that we should be using here. --- clients/window.c | 4 ++-- protocol/xdg-shell.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/window.c b/clients/window.c index 5099004..5f86db2 100644 --- a/clients/window.c +++ b/clients/wi

[PATCH weston 0/6] Fixups and rewrites for xdg-shell

2014-11-22 Thread Jasper St. Pierre
This is the last round of fixups I'm going to to the existing xdg-shell interface. We'll be adding on other APIs before it goes fully stable, but before that, let's focus on making sure what we already have is good enough. Jasper St. Pierre (6): xdg-shell: Take a xdg_surface as the parent surfac

[PATCH weston 2/6] xdg-shell: Remove the serial from popup_done

2014-11-22 Thread Jasper St. Pierre
It doesn't serve any purpose, as it's a serial that the client gave to the server when starting the popup, which the client already has. --- clients/window.c | 2 +- desktop-shell/shell.c | 3 +-- protocol/xdg-shell.xml | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/c

[PATCH weston 6/6] xdg-shell: Bump unstable version

2014-11-22 Thread Jasper St. Pierre
--- clients/simple-damage.c | 2 +- clients/simple-egl.c| 2 +- clients/simple-shm.c| 2 +- clients/window.c| 2 +- desktop-shell/shell.c | 2 +- protocol/xdg-shell.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/clients/simple-damage.c b/clients/simpl

[PATCH weston 4/6] xdg-shell: Send an error when the client uses the not-topmost popup

2014-11-22 Thread Jasper St. Pierre
Either in destroy or get_xdg_popup. --- desktop-shell/shell.c | 21 - protocol/xdg-shell.xml | 7 +++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 7650884..9a69657 100644 --- a/desktop-shell/shell.c +++

[PATCH weston] xwm: Support maximizing xwayland windows

2014-11-22 Thread Giulio Camuffo
This patch adds the maximize button to the window frame for the windows which set the MWM_DECOR_MAXIMIZE hint, and it wires it with the shell via a new method in weston_shell_interface. Additionally, it also listens for the wm hints coming from the client, but it doesn't support maximizing a window

[PATCH weston v2] input: send focus events to the focused client when running a key binding

2014-11-22 Thread Giulio Camuffo
When running a key binding we don't send the key press to the client via the wl_keyboard.key event. Instead, send a wl_keyboard.leave/enter pair so that the client knows the actual state of the keyboard. --- src/bindings.c | 23 --- src/input.c| 3 +-- 2 files changed, 21