[PATCH] xwm: Handle third data entry in client messages

2017-06-24 Thread Iliya Bozhinov
A single client message can be used to modify two properties at once. That's why when processing such messages we have to check both the second and the third data entry for states that we must handle. Signed-off-by: Ilia Bozhinov --- xwayland/window-manager.c | 14 +- 1 file changed,

[PATCH weston 2/2] clients/editor: Toggle panel visibility on click

2017-06-24 Thread Joshua Watt
If the --click-to-show option is specified, clicking an input field will toggle the input panel visiblity Signed-off-by: Joshua Watt --- clients/editor.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/clients/editor.c b/clients/editor.c index b63c562..78d10d2

[PATCH weston 1/2] text-backend: Allow client hiding of input panel

2017-06-24 Thread Joshua Watt
Previously, the hide_input_panel and show_input_panel messages for the text input protocol were limited to specific cases, such as showing the panel on activation, or making the panel visible after activation. Now, clients are allowed to toggle the panel visiblity at will as long as they are the cu

wayland NULL buffet attach/commit

2017-06-24 Thread annamalai lakshmanan
Hi Does wayland/IVI shell support NULL buffer attach/commit? we dont seem to get frame call back once a valid buffer is attached after a NULL buffer attach/commit weston-1.9.0, IVI-1.9.1 thanks Annamalai ___ wayland-devel mailing list wayland-devel@lis

[PATCH 2/3] xwayland: Shape window region to clip shadow area from input

2017-06-24 Thread Scott Moreau
Decorated windows were getting the size of the window including the shadow which is correct, but causing some confusion for motion input events. This was exhibited when one xwayland window overlaps another, hovering over the window beneath recieves no events if within the 32 pixel shadow border are

[PATCH 3/3] xwayland: Fix override redirect window positioning

2017-06-24 Thread Scott Moreau
When override redirect windows are created, the x/y offsets provided at map time may be incorrect. The correct offsets are sent in a configure event from the xserver some time later. Here we fix the positions by delaying the call to set_xwayland() from map time to the needed configure event in the

[PATCH 1/3] xwayland: Fix input coordinates of non-decorated windows

2017-06-24 Thread Scott Moreau
Windows without decorations drawn by the xwayland window manager had wrong input coordinates because weston_wm_window_get_child_position was giving wrong x/y offsets. Set the offsets to 0 for windows without system decorations. --- xwayland/window-manager.c | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH] xwayland: Fix input coordinates of shadowless CSD windows

2017-06-24 Thread Scott Moreau
On Thu, May 18, 2017 at 6:26 AM, Pekka Paalanen wrote: > On Tue, 2 May 2017 10:24:17 -0600 > Scott Moreau wrote: > > > This fixes wrong input coordinates when using clients like steam, > > that draw their own decorations and have no shadows. > > --- > > xwayland/window-manager.c | 30 +