Re: EXT: [PATCH weston 0/1] Allow forcing outputs on

2018-05-23 Thread Ray, Ian (GE Healthcare)
> On 23 May 2018, at 15.47, Pekka Paalanen wrote: > > From: Pekka Paalanen > > Hi, > > this patch depends on the last patch of the clone mode series: > https://patchwork.freedesktop.org/patch/217906/ > > I've tested this on a dual-head setup, where one connector is > disconnected. I generat

[PATCH weston] libinput: Restore keyboard focus after VT switch

2018-05-23 Thread Jamey Sharp
Under Weston's drm-backend, after returning to Weston from another VT, no window has focus. There's already code in notify_keyboard_focus_out and notify_keyboard_focus_in to save and restore focus, respectively; and udev_input_enable eventually calls notify_keyboard_focus_in, by way of evdev_notif

[PATCH weston 1/1] weston: add force-on option for DRM

2018-05-23 Thread Pekka Paalanen
From: Pekka Paalanen Add a new boolean output section key "force-on". When set to true, the output will be enabled regardless of connector status. This is the opposite of the mode=off setting. Forcing connectors on is useful in special circumstances: avoid output configuration changes due to hot

[PATCH weston 0/1] Allow forcing outputs on

2018-05-23 Thread Pekka Paalanen
From: Pekka Paalanen Hi, this patch depends on the last patch of the clone mode series: https://patchwork.freedesktop.org/patch/217906/ I've tested this on a dual-head setup, where one connector is disconnected. I generated a mode line with cvt and put in weston.ini: mode=138.50 1920 1968 200

Re: [PATCH weston] compositor-rdp: fix compilation with freerdp 2.0.0-rc2

2018-05-23 Thread Luca Weiss
On Mittwoch, 23. Mai 2018 09:57:51 CEST Hardening wrote: > Le 22/05/2018 à 16:12, Pekka Paalanen a écrit : > > On Fri, 11 May 2018 11:47:47 +0200 > > > > Luca Weiss wrote: > >> See > >> https://github.com/FreeRDP/FreeRDP/commit/1f7d33a2f22a372c124ce985a39461 > >> 9e186e06b9 for the upstream chang

[PATCH 2/2] weston.ini.in: make config useful for installed Weston

2018-05-23 Thread Michael Tretter
The weston.ini.in files refer to @abs_top_builddir@ and @abs_top_srcdir@, assuming that the weston.ini is used on the build system. Moreover, the ivi-shell weston.ini uses @abs_top_srcdir@/data as path to Weston data. However, the data is installed to westondatadir, which is hard-coded to ${datadi

[PATCH 0/2] Cleanup weston.ini.in

2018-05-23 Thread Michael Tretter
Hi, I am trying to use the IVI-Shell with an embedded system. I'd like to use the provided weston.ini.in to show case the example hmi-controller and weston-ivi-shell-user-interface. Unfortunately the provided weston.ini.in template is only useful when used on the same system that is used to build

[PATCH 1/2] ivi-shell: fix path to weston-ivi-shell-user-interface

2018-05-23 Thread Michael Tretter
The weston-ivi-shell-user-interface is installed to libexecdir. The config already refers to weston-keyboard from libexecdir. Therefore, there is no reason to use abs_top_srcdir instead of libexecdir. Signed-off-by: Michael Tretter --- ivi-shell/weston.ini.in | 2 +- 1 file changed, 1 insertion(

[PATCH weston 7/9] ivi-shell: allow to set transitions only once

2018-05-23 Thread Emre Ucan
Transitions are only atomically set during commit_changes. Therefore, it should not be possible to set same type of transition to same surface/layer more than once. Signed-off-by: Emre Ucan --- ivi-shell/ivi-layout-transition.c | 74 +-- 1 file changed, 9 inse

[PATCH weston 8/9] ivi-shell: remove surface_set_transition_duration

2018-05-23 Thread Emre Ucan
it is not used Signed-off-by: Emre Ucan --- ivi-shell/ivi-layout-export.h | 9 + ivi-shell/ivi-layout.c| 17 - 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h index 834b906..fee7adb 1006

[PATCH weston 6/9] ivi-shell: remove start rectangle from ivi_layout_surface

2018-05-23 Thread Emre Ucan
it is always equal to destination rectangle. Therefore, we can remove it Signed-off-by: Emre Ucan --- ivi-shell/ivi-layout-export.h | 4 ivi-shell/ivi-layout-transition.c | 8 ivi-shell/ivi-layout.c| 4 3 files changed, 4 insertions(+), 12 deletions(-) diff --

[PATCH weston 9/9] ivi-shell: remove move_layer_cancel API

2018-05-23 Thread Emre Ucan
Transitions are committed during commit_changes. If we want to remove previously set transitions, we need to call layer_set_transition with IVI_LAYOUT_TRANSITION_NONE. Therefore, this API is redundant. Signed-off-by: Emre Ucan --- ivi-shell/hmi-controller.c| 4 +++- ivi-shell/ivi-layou

[PATCH weston 5/9] ivi-shell: remove redundant code in commit_surface_list

2018-05-23 Thread Emre Ucan
Move out the statements out of if statement, which are the same in every branch. Furthermore, *_move_resize_view() function does not modify destination rectangle of the surface. Therefore, we don't need to store the destination rectangle locally and set it again. Signed-off-by: Emre Ucan --- ivi

[PATCH weston 4/9] ivi-shell: remove VIEW_FADE_ONLY transition

2018-05-23 Thread Emre Ucan
we can use VIEW_FADE transition instead Signed-off-by: Emre Ucan --- ivi-shell/hmi-controller.c| 2 +- ivi-shell/ivi-layout-export.h | 1 - ivi-shell/ivi-layout.c| 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ivi-shell/hmi-controller.c b/ivi-shell/hmi-controll

[PATCH weston 2/9] ivi-shell: remove unused VIEW_RESIZE transition

2018-05-23 Thread Emre Ucan
we can use VIEW_MOVE_RESIZE instead Signed-off-by: Emre Ucan --- ivi-shell/ivi-layout-export.h | 1 - ivi-shell/ivi-layout-transition.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h index b6291f1..b3f5beb

[PATCH weston 1/9] ivi-shell: remove unused VIEW_ORDER transition

2018-05-23 Thread Emre Ucan
it is not possible to make transition of z-order changes Signed-off-by: Emre Ucan --- ivi-shell/hmi-controller.c| 3 --- ivi-shell/ivi-layout-export.h | 1 - 2 files changed, 4 deletions(-) diff --git a/ivi-shell/hmi-controller.c b/ivi-shell/hmi-controller.c index 0e44df8..f8858c5 100644 --

[PATCH weston 3/9] ivi-shell: remove DEST_RECT_ONLY transition

2018-05-23 Thread Emre Ucan
we can use VIEW_MOVE_RESIZE tranisition instead Signed-off-by: Emre Ucan --- ivi-shell/ivi-layout-export.h | 1 - ivi-shell/ivi-layout.c| 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h index b3f5beb..f84c9

[PATCH weston 0/9] Transition rework part 1

2018-05-23 Thread Emre Ucan
I am planning to rework ivi transition implementation. I want to use weston animation implementation instead of ivi-shell specific transition implementation. These patches are some cleanup patches, which can be applied now. I want to send them now instead of sending a bigger complete rework patch

Re: [PATCH weston] compositor-rdp: fix compilation with freerdp 2.0.0-rc2

2018-05-23 Thread Hardening
Le 22/05/2018 à 16:12, Pekka Paalanen a écrit : > On Fri, 11 May 2018 11:47:47 +0200 > Luca Weiss wrote: > >> See >> https://github.com/FreeRDP/FreeRDP/commit/1f7d33a2f22a372c124ce985a394619e186e06b9 >> for the upstream change. >> >> Signed-off-by: Luca Weiss >> --- >> libweston/compositor-rd