Re: [PATCH weston] gl-renderer: allow EGL_NATIVE_VISUAL_ID to be 0 in configs

2015-11-04 Thread Manuel Bachmann
it :). PS : it is Mesa 10.3.7. Regards, *Manuel Bachmann, Graphics Engineer www.iot.bzh <http://iot.bzh> * 2015-11-04 21:45 GMT+01:00 Derek Foreman : > On 04/11/15 01:44 PM, Bryce Harrington wrote: > > On Wed, Nov 04, 2015 at 02:57:11PM +0100, Manuel Bachmann wrote: > >

[PATCH weston] gl-renderer: allow EGL_NATIVE_VISUAL_ID to be 0 in configs

2015-11-04 Thread Manuel Bachmann
Accept 0 as a valid value for the EGL_NATIVE_VISUAL_ID attribute in EGL configurations, just as we did before commit e76f185. (fixes running Weston with DRM backend and gl-renderer on Lenovo ThinkPad with i915 driver) Signed-off-by: Manuel Bachmann --- src/gl-renderer.c | 2 +- 1 file changed

[PATCH][weston] build: Require dbus for systemd-login

2015-11-04 Thread Manuel Bachmann
after the dbus ones, and only run the checks if it is present. Also mention dbus in the error message if "--enable-systemd-login" was forced. Signed-off-by: Manuel Bachmann --- configure.ac | 66 +++- 1 file changed, 34 insertions(+

Re: [PATCH weston 1/6] xdg-shell: define the present/present_from_event() requests

2015-10-02 Thread Manuel Bachmann
ich always takes a serial argument : I initially thought the same because it seems a lot cleaner, but as no consensus was reached, and Wayland wants to position itself as a stable protocol, I think we better have the double request model for now. Thanks a lot for your time and patience. R

Re: [PATCH weston 1/6] xdg-shell: define the present/present_from_event() requests

2015-09-29 Thread Manuel Bachmann
t it takes some time. * : https://github.com/Tarnyko/weston-xdg_surface_present Regards, *Manuel Bachmann, Graphics Engineer www.iot.bzh <http://iot.bzh> * 2015-09-28 22:41 GMT+02:00 Derek Foreman : > On 09/04/15 11:22 AM, Manuel Bachmann wrote: > > xdg_surface_present() and xdg_s

Re: [PATCH][weston] terminal: allow copy-paste when selection is scrolled out

2015-09-22 Thread Manuel Bachmann
On Sat, Sep 19, 2015 at 01:51:05PM +0200, Manuel Bachmann wrote: > > We could not paste text when its source went outside the > > visible part of the buffer ; this is because we were > > incorrectly assuming that our iterator should start at > > row 0, while it could very well

Re: [PATCH][weston] desktop-shell: fix minimization of fullscreen surfaces

2015-09-20 Thread Manuel Bachmann
Hi folks, Any news on this one ? (https://patchwork.freedesktop.org/patch/46001/) Just tried, the problem still shows in latest master (if you fullscreen weston-terminal with [F11], and then minimize wih right-click -> "Minimize", the screen stays black). If the implementation not seeming optima

[PATCH][weston] terminal: allow copy-paste when selection is scrolled out

2015-09-19 Thread Manuel Bachmann
We could not paste text when its source went outside the visible part of the buffer ; this is because we were incorrectly assuming that our iterator should start at row 0, while it could very well be negative. Signed-off-by: Manuel Bachmann --- clients/terminal.c | 2 +- 1 file changed, 1

Re: How to match versions of wayland/weston/freerdp?

2015-04-13 Thread Manuel Bachmann
s.mob...@gmail.com > > ___ > wayland-devel mailing list > wayland-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/wayland-devel > > -- Regards, *Manuel BACHMANN Tizen Project VANNES-FR* ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH weston 6/6] stacking: manage stacking lists, implement present()

2015-04-09 Thread Manuel Bachmann
e parent again, then xdg_surface_present() will be called on the child window surface. desktop-shell will issue a small GUI notification -which the user can ignore. If the user clicks, the corresponding surface will be raised to moved to the current workspace) 2015-04-09 18:25 GMT+02:00 Manuel Bac

[PATCH weston 6/6] stacking: manage stacking lists, implement present()

2015-04-09 Thread Manuel Bachmann
then be able to raise and find the child by interacting with the notification. Signed-off-by: Manuel Bachmann --- clients/stacking.c | 81 ++ 1 file changed, 70 insertions(+), 11 deletions(-) diff --git a/clients/stacking.c b/clients

[PATCH weston 5/6] toytoolkit: implement a window_present() helper function

2015-04-09 Thread Manuel Bachmann
"window_present()" is a little helper function calling "xdg_surface_present()" on a toytoolkit shell surface. Signed-off-by: Manuel Bachmann --- clients/window.c | 9 + clients/window.h | 3 +++ 2 files changed, 12 insertions(+) diff --git a/clients/window.c b/cl

[PATCH weston 4/6] desktop-shell: implement the presented() GUI notifier

2015-04-09 Thread Manuel Bachmann
ts current workspace. The tooltip is destroyed after having been clicked, or whenever the corresponding shell surface gets destroyed by any means. Signed-off-by: Manuel Bachmann --- clients/desktop-shell.c | 207 ++-- 1 file changed, 203 insertions(+),

[PATCH weston 3/6] xdg-shell: implement the present() basic logic

2015-04-09 Thread Manuel Bachmann
; managed_surface _activate() is also implemented but unused for now. Signed-off-by: Manuel Bachmann --- clients/desktop-shell.c | 33 + desktop-shell/shell.c | 39 +++ 2 files changed, 72 insertions(+) diff --git a/clients/desktop-shell.c

[PATCH weston 2/6] desktop-shell: define a "managed_surface" interface

2015-04-09 Thread Manuel Bachmann
will keep track of server-side shell surfaces, and is able to send requests and receive events. Signed-off-by: Manuel Bachmann --- clients/desktop-shell.c| 37 ++- desktop-shell/shell.c | 18 protocol/desktop-shel

[PATCH weston 1/6] xdg-shell: define the present/present_from_event() requests

2015-04-09 Thread Manuel Bachmann
e, it just behaves like present(). Signed-off-by: Manuel Bachmann --- desktop-shell/shell.c | 15 +++ protocol/xdg-shell.xml | 20 2 files changed, 35 insertions(+) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index f7c928e..d1d3f3c 100644 --- a/de

Re: [RFC : xdg_surface_present() - take 2

2015-04-09 Thread Manuel Bachmann
Hi everybody again, As there does not seem to be a great motivation to annotate the protocol, I suppose the right way to go is to have the 2 requests. I prepared the patches in this sense, and am going to push them for review right now. Regards, Manuel 2015-03-27 6:54 GMT+01:00 Manuel Bachmann

Re: [PATCH weston 2/3] gl-renderer: check EGL_EXT_platform_base in supports()

2015-04-08 Thread Manuel Bachmann
Looks good to me ! 2015-04-08 16:02 GMT+02:00 Pekka Paalanen : > From: Pekka Paalanen > > An EGL implementation may support client extensions without supporting > EGL_EXT_platform_base. In such a case, we should return 0 to fall back > to the old eglGetDisplay() way. > >

Re: [PATCH weston 1/3] gl-renderer: fix EGL initialization steps

2015-04-08 Thread Manuel Bachmann
Looks good to me ! 2015-04-08 16:02 GMT+02:00 Pekka Paalanen : > From: Manuel Bachmann > > Some DRI drivers, including VMware vmwgfx, do not support > calling eglQueryString() with a EGL_NO_DISPLAY parameter. > Just as we do in gl_renderer_supports(), which returns 0 > but doe

FreeGLUT has now a Wayland backend

2015-04-06 Thread Manuel Bachmann
/resources/libraries/glut/ -- Regards, *Manuel BACHMANN Tizen Project VANNES-FR* ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

[PATCH weston] gl-renderer: fix EGL initialization steps

2015-04-02 Thread Manuel Bachmann
From: Manuel Bachmann Some DRI drivers, including VMware vmwgfx, do not support calling eglQueryString() with a EGL_NO_DISPLAY parameter. Just as we do in gl_renderer_supports(), which returns 0 but does not fail in this case, do not fail in gl_renderer_setup_egl_extensions(). With some

Re: [PATCH weston] gl-renderer: fix EGL initialization steps

2015-04-02 Thread Manuel Bachmann
Agreed ! I am going send the patch again, same name ("gl-renderer: fix EGL initialization steps") but modified in this sense and with another commit message, Regards, Manuel 2015-04-02 11:51 GMT+02:00 Pekka Paalanen : > On Mon, 30 Mar 2015 21:48:32 +0200 > Manuel Bachmann

[PATCH weston] desktop-shell: fix minimization of fullscreen surfaces

2015-03-30 Thread Manuel Bachmann
From: Manuel Bachmann If a fullscreen surface was minimized, the shell would keep its fullscreen mode activated, and only a black background would be visible. Signed-off-by: Manuel Bachmann --- desktop-shell/shell.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff

Re: [PATCH weston 2/2] desktop-shell: fix minimization of fullscreen surfaces, pointer focus

2015-03-30 Thread Manuel Bachmann
Now re-sending this patch, modified, under the new name "desktop-shell: fix minimization of fullscreen surfaces". 2015-03-30 18:26 GMT+02:00 Manuel Bachmann < manuel.bachm...@open.eurogiciel.org>: > Hi Pekka, > > "It is the wrong way to fix it. > > Not

Re: [PATCH weston] gl-renderer: fix EGL initialization steps

2015-03-30 Thread Manuel Bachmann
ed there) ? 2015-03-30 21:38 GMT+02:00 Manuel Bachmann < manuel.bachm...@open.eurogiciel.org>: > Hi Daniel, and thanks, > > "What is the complete client extension string on that platform?" > > It is simply "EGL_EXT_client_extensions". > > Here ar

Re: [PATCH weston] gl-renderer: fix EGL initialization steps

2015-03-30 Thread Manuel Bachmann
ot; - EGL is : 1.4 (DRI2) - GL vendor is : Intel Open Source Technology Center - GL renderer is : Mesa DRI Intel(R) Ivybridge Model. GPU seems to be : Intel HP Graphics 4000 (core i7 CPU) 2015-03-30 20:52 GMT+02:00 Daniel Stone : > Hi, > > On 30 March 2015 at 17:38, Manuel Bachmann

Re: [PATCH weston] gl-renderer: fix EGL initialization steps

2015-03-30 Thread Manuel Bachmann
e of the function, is that when building EGL with X11 support, it will always report X11 as a supported platform ? Maybe there are versions of Mesa which do not honor this. Will check.) 2015-03-30 14:40 GMT+02:00 Pekka Paalanen : > On Sun, 29 Mar 2015 05:03:09 +0200 > Manuel Bachmann wrote:

Re: [PATCH weston 2/2] desktop-shell: fix minimization of fullscreen surfaces, pointer focus

2015-03-30 Thread Manuel Bachmann
o see in the code, which calls a for a big comment to explain what is happening." Practically, it works just nice ; but I agree, I will add a multi-line comment on top of this, to explain why this is required. Regards, Manuel 2015-03-30 8:59 GMT+02:00 Pekka Paalanen : > On Sat, 28 Mar 20

[PATCH weston] editor: implement Cut,Copy,Paste

2015-03-29 Thread Manuel Bachmann
From: Manuel Bachmann weston-editor is the only stock client spawning the virtual keyboard ; which means it may be the only client able to obtain some special characters (depending on the user's keyboard layout). If we implement Cut, Copy and Paste, the user has now a way to copy

[PATCH weston] toytoolkit: fix EGL surface creation for lazy drivers

2015-03-28 Thread Manuel Bachmann
From: Manuel Bachmann Some DRI drivers, including VMware vmwgfx, do not support calling eglQueryString() with a EGL_NO_DISPLAY parameter. Allow toytoolkit to create EGL surfaces with them, by falling back to the old creation method. Signed-off-by: Manuel Bachmann --- shared/platform.h | 5

[PATCH weston] gl-renderer: fix EGL initialization steps

2015-03-28 Thread Manuel Bachmann
From: Manuel Bachmann We should not prevent gl-renderer to initalize if client extensions were not found. Practically, this prevented Weston from running with GL on i915 DRI platforms. Some DRI drivers, including VMware vmwgfx, do not support calling eglQueryString() with a EGL_NO_DISPLAY

Re: [PATCH weston 2/2] desktop-shell: fix minimization of fullscreen surfaces, pointer focus

2015-03-27 Thread Manuel Bachmann
patches which fix building it : http://lists.freedesktop.org/archives/wayland-devel/2015-March/020920.html - http://lists.freedesktop.org/archives/wayland-devel/2015-March/020921.html ) Regards, 2015-03-27 15:22 GMT+01:00 Pekka Paalanen : > On Mon, 16 Feb 2015 11:52:47 +0100 > Manuel Bachmann

[PATCH weston] nested-client: fix typo

2015-03-27 Thread Manuel Bachmann
From: Manuel Bachmann Should be "client" instead of "nclient". Signed-off-by: Manuel Bachmann --- clients/nested-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/nested-client.c b/clients/nested-client.c index 615f589..27dc54f 100644

[PATCH weston] toytoolkit: fix new EGL extensions fallback typedefs

2015-03-27 Thread Manuel Bachmann
From: Manuel Bachmann The dummy typedefs for "get_platform_display()" and "create_platform_window()" were badly defined, which prevented building Weston on older systems. Signed-off-by: Manuel Bachmann --- shared/platform.h | 9 +++-- 1 file changed, 7 insertions(+),

Re: [RFC : xdg_surface_present() - take 2

2015-03-26 Thread Manuel Bachmann
03-09 6:17 GMT+01:00 Manuel Bachmann < manuel.bachm...@open.eurogiciel.org>: > Hi Jasper, > > "This is not an "I need attention" request. Perhaps our documentation is > poor." > You are right, just as I answered to Jonas, I mixed present() with the > d

Re: Weston RDP on ARM

2015-03-26 Thread Manuel Bachmann
en capture uses y-flip: yes >presentation clock: CLOCK_MONOTONIC_RAW, id 4 > [12:33:36.753] Loading module '/usr/lib/weston/desktop-shell.so' > [12:33:36.756] Loading module '/usr/lib/weston/screen-share.so' > [12:33:36.813] launching '/usr/lib/weston/weston-desktop-shell'

Re: [RFC] Implementing Wayland Security Module

2015-03-11 Thread Manuel Bachmann
peat it here." We discussed that on IRC, I can understand your position. Regards, Manuel 2015-03-09 21:41 GMT+01:00 Jasper St. Pierre : > On Mon, Mar 9, 2015 at 12:52 PM, Manuel Bachmann < > manuel.bachm...@open.eurogiciel.org> wrote: > >> Hi Matthias, >> >>

Re: [RFC] Implementing Wayland Security Module

2015-03-09 Thread Manuel Bachmann
d timeframe for this. Regards, Manuel 2015-03-09 14:30 GMT+01:00 Matthias Clasen : > On Mon, Mar 9, 2015 at 1:38 AM, Manuel Bachmann > wrote: > > > Any comments on this ? > > > > I don't think it makes sense to develop a specific solution just for > the portion

[RFC] Implementing Wayland Security Module

2015-03-08 Thread Manuel Bachmann
ith "soft allow" -it works when the user interacts with the notification to explicitly authorize the app) Any comments on this ? -- Regards, *Manuel BACHMANN Tizen Project VANNES-FR* ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [RFC : xdg_surface_present() - take 2

2015-03-08 Thread Manuel Bachmann
03-09 3:25 GMT+01:00 Jasper St. Pierre : > > > On Sun, Mar 8, 2015 at 6:57 PM, Jonas Ådahl wrote: > >> On Fri, Feb 27, 2015 at 11:14:19AM +0100, Manuel Bachmann wrote: >> > Hello fellow developers, >> > >> > I just wanted to continue a discussion which

Re: [RFC : xdg_surface_present() - take 2

2015-03-08 Thread Manuel Bachmann
x27;re following it closely and regulary pushing patches for it. Regards. 2015-03-09 2:57 GMT+01:00 Jonas Ådahl : > On Fri, Feb 27, 2015 at 11:14:19AM +0100, Manuel Bachmann wrote: > > Hello fellow developers, > > > > I just wanted to continue a discussion which occured

Re: [RFC : xdg_surface_present() - take 2

2015-03-08 Thread Manuel Bachmann
ill not >>> be able to raise itself even if it random()ly finds the formerly "good" >>> serial. >>> >> >> It seems to me the compositor will have to remember very few serials. >> Rather than per-surface I think it would be per-seat. And there wo

Re: [RFC : xdg_surface_present() - take 2

2015-03-03 Thread Manuel Bachmann
ly one serial valid for a few >> seconds, if the surface has not been focused for some time, it will not >> be able to raise itself even if it random()ly finds the formerly "good" >> serial. >> > > It seems to me the compositor will have to remember very few serials. > Rather than per-surface I think it would be per-seat. And there would be no > timeout, instead it would remember the last N button or key presses (N > quite possibley is 1). > -- Regards, *Manuel BACHMANN Tizen Project VANNES-FR* ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

[RFC : xdg_surface_present() - take 2

2015-02-27 Thread Manuel Bachmann
st A video for the generic "focus stealing prevention" case (delayed start, focus stays in old surface) between different clients : https://www.youtube.com/watch?v=gifjXyPV3X4 and within the same client : https://www.youtube.com/watch?v=Xiq1p5AOf1U - Any thoughts on this ? -- Re

Re: [Wayland1.5]Question about wl_shell_get_shell_surface

2015-02-26 Thread Manuel Bachmann
problems, I don't have a clue though Hope it helps. Regards, Manuel Bachmann 2015-02-26 11:50 GMT+01:00 Pekka Paalanen : > On Thu, 26 Feb 2015 09:04:25 + > Yang Andy wrote: > > > Hi everyone > > > > I have a question about wl_shell_get_shell_surface. >

Re: weston rdp crash on arm

2015-02-18 Thread Manuel Bachmann
18.destroy() > [160982.872] -> wl_shm_pool@17.destroy() > [160983.061] -> wl_shm_pool@10.destroy() > [160983.250] -> wl_subcompositor@4.destroy() > > Is there a way to enable the freerdp logs? > > > > _

[PATCH weston 2/2] desktop-shell: fix minimization of fullscreen surfaces, pointer focus

2015-02-16 Thread Manuel Bachmann
From: Manuel Bachmann 2 things were wrong with the minimization code : - if the minimized surface was fullscreen, the shell would keep its fullscreen mode on and only display a black background ; - keyboard focus was unset, but pointer focus was not. On the other hand, make sure a fullscreen

[PATCH weston 1/2] desktop-shell: remove dead unminimization code

2015-02-16 Thread Manuel Bachmann
From: Manuel Bachmann The "set_minimized(surface, 0)" function call was never used anywhere, and not really respecting naming conventions. Signed-off-by: Manuel Bachmann --- desktop-shell/shell.c | 33 ++--- 1 file changed, 10 insertions(+), 23 deletion

[PATCH] build: do not install ivi-shell png files with "--disable-ivi-shell"

2015-02-16 Thread Manuel Bachmann
From: Manuel Bachmann Some of the .png files are specific to ivi-shell. Avoid installing them to "$prefix/share/weston" if ivi-shell has explicitly been disabled at configure time. Signed-off-by: Manuel Bachmann --- Makefile.am |6 +- 1 file changed, 5 insertions(+),

Re: Is the RDP backend suppose to work?

2015-01-27 Thread Manuel Bachmann
ibwayland-server.so.0 (wl_client_destroy+0x266) > [0x3840a07256] > [19:48:44.842] 12: /lib64/libwayland-server.so.0 > (wl_event_loop_dispatch+0x72) [0x3840a08fa2] > [19:48:44.843] 13: /lib64/libwayland-server.so.0 (wl_display_run+0x25) > [0x3840a076f5] > [19:48:44.844] 14: weston

Re: [PATCH weston] shell: fix various interactions with the minimized state

2014-09-05 Thread Manuel Bachmann
+02:00 Giulio Camuffo : > 2014-07-31 16:36 GMT+03:00 Manuel Bachmann > : > > This fixes the following : > > - if a surface was set fullscreen, and then minimized, > > the fullscreen compositor state would stay on and display > > a black screen ; > > How do you test

Re: [PATCH 1/1] build: handle special characters when building from git

2014-08-18 Thread Manuel Bachmann
Hi Pekka and thanks for the review, Hmm strange, wasn't what I observed when I submitted the patch, will look at that and let you know. 2014-08-15 15:33 GMT+02:00 Pekka Paalanen : > On Wed, 30 Jul 2014 00:28:52 +0200 > Manuel Bachmann wrote: > > > When building from

Re: [LookForHelp]A10S/ARM Weston-launch failed‏

2014-08-08 Thread Manuel Bachmann
4]: [12:19:26.244] initializing > drm backend > Aug 07 12:19:26 ivi_box weston-launch[264]: [12:19:26.244] no drm device > found > > [target device] > A10S ARM > > > Best regards. > > Andy > > ___ > wayland-d

Re: RFC : xdg_surface_present() look-and-feel and implementation

2014-08-01 Thread Manuel Bachmann
definition especially. 2014-07-30 0:00 GMT+02:00 Manuel Bachmann < manuel.bachm...@open.eurogiciel.org>: > Hi Jasper, Jason, > > "Agreed. Especially if you start an application, but it's slow to start, > and you have typed into the current window or have navigated away f

Re: [Question] Z-order management in Wayland

2014-08-01 Thread Manuel Bachmann
> >> > >> >> >> Yan Wang > >> >> >> ___ > >> >> >> wayland-devel mailing list > >> >> >> wayland-devel@lists.freedesktop.org > >> >> >> http://lists

Re: [Question] Z-order management in Wayland

2014-07-31 Thread Manuel Bachmann
___ > >> > wayland-devel mailing list > >> > wayland-devel@lists.freedesktop.org > >> > http://lists.freedesktop.org/mailman/listinfo/wayland-devel > >> > > >> ___ > >> wayland-devel mailing list > >> wayland-devel@lists.free

[PATCH weston] shell: fix various interactions with the minimized state

2014-07-31 Thread Manuel Bachmann
on, and the fullscreen layer would sometimes hide surfaces positioned behind it ; - style and functional polishing, remove dead code. Signed-off-by: Manuel Bachmann --- desktop-shell/shell.c | 67 - 1 file changed, 38 insertions(+), 29 deletions

[PATCH 1/1] build: handle special characters when building from git

2014-07-29 Thread Manuel Bachmann
When building from a git repository, in Makefile.am, the macro creating the "src/git-version.h" file will fail if the last commit subject contains a special character such as ". Escape characters so that the output string is, at worst, empty. Signed-off-by: Manuel Bachmann -

Re: RFC : xdg_surface_present() look-and-feel and implementation

2014-07-29 Thread Manuel Bachmann
ger a commit, or at least it's unwanted. I think it can be compared to what happens when you cycle through windows with "Mod-Tab" and choose one. 2014-07-29 23:11 GMT+02:00 Jason Ekstrand : > > > > On Tue, Jul 29, 2014 at 12:16 PM, Bill Spitzak wrote: > >> On

Re: RFC : xdg_surface_present() look-and-feel and implementation

2014-07-29 Thread Manuel Bachmann
ce_present/commit/4265ab36f644d2663bf14d4b0d42fb8bcb6ca6f7 Regards, 2014-07-29 21:16 GMT+02:00 Bill Spitzak : > On 07/29/2014 11:40 AM, Manuel Bachmann wrote: > > When creating a xdg_surface, the surface will not be mapped (i.e. shown) >> by desktop-shell anymore. It will only

RFC : xdg_surface_present() look-and-feel and implementation

2014-07-29 Thread Manuel Bachmann
/2014-July/016078.html ** main changes : new "desktop_shell_add_managed_surface" event and "managed_surface" interface in desktop-shell.xml, new "panel_notifier" widget, helper functions. -- Regards, *Manuel BACHMANN Tizen Project VANNES-FR*

Re: Fwd: [PATCH weston] xdg-shell: Make stable

2014-07-19 Thread Manuel Bachmann
>> > > While there is only : >> > > >> > > >> > > >> > > >> > > Would it make sense to add this one : >> > > >> > > >> > > >> > > >> > > I supose it's not

Re: Fwd: [PATCH weston] xdg-shell: Make stable

2014-07-18 Thread Manuel Bachmann
To be tracked here and at : > > https://bugs.freedesktop.org/show_bug.cgi?id=53214 > > > Regards > > > -- > mailto:philippe.co...@eurogiciel.fr -- gpg:0x467094BC > xmpp:philippe.coval@gmail.com > https://dockr.eurogiciel.fr/blogs/embedded/author/pcl/ >

Re: Weston IVI-Shell GitHub repo

2014-07-09 Thread Manuel Bachmann
attachments/20140625/abbfc064/attachment-0001.png > > > > The above png might be helpful for what it looks like currently. > > > > BR, > > ntanibata > > > > *From:* wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] > *On Behalf Of

Weston IVI-Shell GitHub repo

2014-07-09 Thread Manuel Bachmann
helps ! (1) : http://www.genivi.org/ (2) : http://lists.freedesktop.org/archives/wayland-devel/2014-June/015617.html (3) : http://www.tarnyko.net/repo/weston-ivi-shell.png -- Regards, *Manuel BACHMANN Tizen Project VANNES-FR* ___ wayland-devel mailin

Re: DE-components (Re: Window placement)

2014-07-04 Thread Manuel Bachmann
Inventing yet > > > another way that doesn't really fit well for any DE and forcing > > > everyone to support that is not a good plan. Some components in some > > > DEs could be not programs but plugins, some may talk via dbus rather > > > than the display protocol, and so on. > > > > > > Instead,

Re: [PATCH weston-ivi-shell v5 7/9] data: add reference image files for weston-ivi-shell-user-interface

2014-06-25 Thread Manuel Bachmann
con_ivi_simple-egl.png >> create mode 100644 data/icon_ivi_simple-shm.png >> create mode 100644 data/icon_ivi_smoke.png >> create mode 100644 data/panel.png >> create mode 100644 data/random.png >> create mode 100644 dat

Re: [PATCH weston v2] screen-share: Allow fullscreen shell command to be configured

2014-05-15 Thread Manuel Bachmann
MODIFIER_CTRL | MODIFIER_ALT, >> - share_output_binding, >> compositor); >> + share_output_binding, ss); >> return 0; >> } >> diff --git a/weston.ini.in b/weston.ini.in >> index 2c39177..1f216a7 100644 >> --- a/weston.ini.in >> +++ b/weston.ini.in >> @@ -65,3 +65,6 @@ path=@libexecdir@/weston-keyboard >> #constant_accel_factor = 50 >> #min_accel_factor = 0.16 >> #max_accel_factor = 1.0 >> + >> +[screen-share] >> +command=@bindir@/weston --backend=rdp-backend.so >> --shell=fullscreen-shell.so --no-clients-resize >> -- >> 1.9.2 >> >> ___ >> wayland-devel mailing list >> wayland-devel@lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/wayland-devel >> > > > ___ > wayland-devel mailing list > wayland-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/wayland-devel > > -- Regards, *Manuel BACHMANN Tizen Project VANNES-FR* ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH] editor: react on Enter, Tab, and Up-Down arrow keys

2014-04-21 Thread Manuel Bachmann
0 Bill Spitzak : > It looks like the text actually has the bytes "Enter" at the newlines, > rather than, say, a '\n'? > > > On 04/18/2014 03:52 AM, Manuel Bachmann wrote: > > This fixes : > https://bugs.freedesktop.org/show_bug.cgi?id=77496 &

Re: [PATCH] editor: react on Enter, Tab, and Up-Down arrow keys

2014-04-18 Thread Manuel Bachmann
This fixes : https://bugs.freedesktop.org/show_bug.cgi?id=77496 Regards, Manuel 2014-04-18 12:50 GMT+02:00 Manuel Bachmann < manuel.bachm...@open.eurogiciel.org>: > The editor will now insert new lines and tabulations when > pressing the corresponding keys on the virtual keyboard

[PATCH] editor: react on Enter, Tab, and Up-Down arrow keys

2014-04-18 Thread Manuel Bachmann
The editor will now insert new lines and tabulations when pressing the corresponding keys on the virtual keyboard. The Up and Down arrows can be used to navigate through lines. Signed-off-by: Manuel Bachmann --- clients/editor.c | 97 -- 1

Re: [PATCH] shell: display the input panel on the active output

2014-04-17 Thread Manuel Bachmann
This patch fixes : https://bugs.freedesktop.org/show_bug.cgi?id=71015 Regards, Manuel 2014-04-17 14:04 GMT+02:00 Manuel Bachmann < manuel.bachm...@open.eurogiciel.org>: > We now dynamically move the input panel (i.e. virtual > keyboard) surface to the output containing the current

[PATCH] shell: display the input panel on the active output

2014-04-17 Thread Manuel Bachmann
We now dynamically move the input panel (i.e. virtual keyboard) surface to the output containing the currently focused surface. Signed-off-by: Manuel Bachmann --- desktop-shell/input-panel.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/desktop-shell/input-panel.c b

[PATCH] keyboard: add the missing symbols layout, fix arabic layout

2014-04-15 Thread Manuel Bachmann
ew symbols layouts. Signed-off-by: Manuel Bachmann --- clients/keyboard.c | 280 +--- 1 file changed, 159 insertions(+), 121 deletions(-) diff --git a/clients/keyboard.c b/clients/keyboard.c index 11fe21d..cd1ad58 100644 --- a/clients/keyboa

Re: [PATCH] Fix on-the-fly transparency changes in pixman-renderer

2014-04-07 Thread Manuel Bachmann
Awesome ! Thank you both once again. Regards, Manuel 2014-04-07 18:46 GMT+02:00 Kristian Høgsberg : > On Mon, Apr 07, 2014 at 04:02:11PM +0300, Pekka Paalanen wrote: > > On Mon, 7 Apr 2014 11:58:45 +0200 > > Manuel Bachmann wrote: > > > > > This fixes : &g

Re: [PATCH] Support on-the-fly transparency changes in pixman renderer

2014-04-07 Thread Manuel Bachmann
00 Kristian Høgsberg : > On Sat, Apr 05, 2014 at 05:31:37AM +0200, Manuel Bachmann wrote: > > When the alpha channel of a surface is changed and the surface > > refreshed, pixman renderer will now apply a mask corresponding > > to the alpha channel value. > > > > This

[PATCH] Fix on-the-fly transparency changes in pixman-renderer

2014-04-07 Thread Manuel Bachmann
This fixes : - leaking the mask used to simulate transparency ; - code style (definitions moved up, use of brackets) ; - applying an opaque region when transparency is wanted (shound not happen). Signed-off-by: Manuel Bachmann --- src/pixman-renderer.c | 19 +-- 1 file

[PATCH] Support on-the-fly transparency changes in pixman renderer

2014-04-04 Thread Manuel Bachmann
When the alpha channel of a surface is changed and the surface refreshed, pixman renderer will now apply a mask corresponding to the alpha channel value. This allows visual effects like shell fade in, shell fade out, window switching, to work when using pixman renderer. Signed-off-by: Manuel

(RFC) weston-keyboard: enhancement proposal

2014-04-04 Thread Manuel Bachmann
, "-->", "-->", 2}, + + { keytype_tab, "->|", "->|", "->|", 1}, + { keytype_default, "ش", "ﹺ", "ﹼ", 1}, + { keytype_default, "س", "ﹴ"

[PATCH] toytoolkit: match parent surface type when adding a subsurface

2014-04-04 Thread Manuel Bachmann
When adding a subsurface (to display a tooltip) in toytoolkit, we now get the parent window surface type (SHM or EGL) and define the new surface type as the same. This fixes crashes with tooltips in cases like having Cairo-EGL available but running the X11 compositor. Signed-off-by: Manuel

[PATCH] shell: position input panel layer above fullscreen layer

2014-03-05 Thread Manuel Bachmann
When a client calls the input panel (weston-keyboard e.g.) and then goes fullscreen, the panel will not be hidden anymore. Signed-off-by: Manuel Bachmann --- desktop-shell/input-panel.c |2 +- desktop-shell/shell.c | 17 + 2 files changed, 10 insertions(+), 9

[PATCH 2/2] compositor: use Mod-Tab to show/raise minimized surfaces

2014-02-26 Thread Manuel Bachmann
Temporarily show minimized surfaces when switching between surfaces with the keyboard. If the final selected one was minimized, it will be restored. Signed-off-by: Manuel Bachmann --- desktop-shell/shell.c | 25 + 1 file changed, 25 insertions(+) diff --git a/desktop

[PATCH 1/2] compositor: implement xdg_surface_set_minimized()

2014-02-26 Thread Manuel Bachmann
We now handle the client-side xdg_surface_set_minimized() call, and eventually hide the target surface by moving it to a dedicated layer. Signed-off-by: Manuel Bachmann --- desktop-shell/shell.c | 64 - desktop-shell/shell.h |2 ++ 2 files

Re: [PATCH 3/5] shell: add managed_surface interface, request and events

2014-02-26 Thread Manuel Bachmann
-02-19 14:04 GMT+01:00 Manuel Bachmann < manuel.bachm...@open.eurogiciel.org>: > > Hi Pekka, and thanks a lot for your review ! > > I changed my code, taking your comments into consideration. Here are the > details : > > > New events should be added last, so the

Re: [PATCH 3/5] shell: add managed_surface interface, request and events

2014-02-19 Thread Manuel Bachmann
ce" only contains a reference to an object which is destroyed somewhere else, so I just destroy the wl_resource itself here. Thanks again. I'll be aware of any other suggestions , and will eventually repost a set of corrected modifications. Regards, Manuel 2014-02-19 11:56 GMT+01:00 Pekka

[PATCH 6/6] compositor: bind xdg_shell_set_minimized to the new logic

2014-02-18 Thread Manuel Bachmann
We bind the xdg call to the same logic used by taskbar. Signed-off-by: Manuel Bachmann --- desktop-shell/shell.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 8f50046..8ac9d6d 100644 --- a/desktop

[PATCH 5/5] compositor: effectively minimize and unminimize.

2014-02-18 Thread Manuel Bachmann
When receiving a managed_surface_set_state request from desktop-shell, compositor will know eventually hide the target surface by sending it to an dedicated layer. Signed-off-by: Manuel Bachmann --- desktop-shell/shell.c | 48 ++-- desktop-shell

[PATCH 4/5] shell: do the actual taskbar_handler visual actions

2014-02-18 Thread Manuel Bachmann
We now really draw the handler widgets. They will be added, destroyed and renamed when receiving events. Signed-off-by: Manuel Bachmann --- clients/desktop-shell.c | 123 ++- desktop-shell/shell.c |3 +- 2 files changed, 123 insertions(+), 3

[PATCH 3/5] shell: add managed_surface interface, request and events

2014-02-18 Thread Manuel Bachmann
We create a new "managed_surface" object which will track a surface compositor-side, and receive events shell-side to handle 3 cases : - a toplevel surface has been created ; - a toplevel surface has been destroyed ; - a toplevel surface has a new title ; Signed-off-by: Manue

[PATCH 2/5] compositor: consider taskbar height on surfaces maximizing

2014-02-18 Thread Manuel Bachmann
As we have a new taskbar layer at the bottom, substract its height from the desired size of maximized surfaces, so they never get hovered by it. Signed-off-by: Manuel Bachmann --- desktop-shell/shell.c | 26 -- 1 file changed, 24 insertions(+), 2 deletions(-) diff

[PATCH 1/5] shell: add taskbar and taskbar_handler widgets

2014-02-18 Thread Manuel Bachmann
We draw a taskbar surface in desktop-shell, extend the desktop-shell protocol to send it to the compositor, and the compositor will draw it in a new taskbar layer at the bottom. Signed-off-by: Manuel Bachmann --- clients/desktop-shell.c| 144

Re: Weston : ideas about xdg_sell, and implementation for a taskbar

2014-02-10 Thread Manuel Bachmann
is not required to call > set_minimized(), since it is so already. > > Giulio > > 2014-02-10 17:45 GMT+02:00 Manuel Bachmann > : > > Oh, and I forgot to add, the taskbar has its own logic asking the > compositor > > to hide, so clicking on the taskbar will do this, too.

Re: Weston : ideas about xdg_sell, and implementation for a taskbar

2014-02-10 Thread Manuel Bachmann
ome useful stuff. I may be wrong of course, and in that case we could just handle this server-side (the code just did this before). Regards Tarnyko, 2014-02-10 16:33 GMT+01:00 Giulio Camuffo : > 2014-02-10 17:25 GMT+02:00 Manuel Bachmann > : > > Hi Bill, hi Jasper, hi everybody

Re: Weston : ideas about xdg_sell, and implementation for a taskbar

2014-02-10 Thread Manuel Bachmann
Oh, and I forgot to add, the taskbar has its own logic asking the compositor to hide, so clicking on the taskbar will do this, too. Sorry for the additional noise. Regards, Manuel 2014-02-10 16:43 GMT+01:00 Manuel Bachmann < manuel.bachm...@open.eurogiciel.org>: > Hi Guilio, > &g

Re: Weston : ideas about xdg_sell, and implementation for a taskbar

2014-02-10 Thread Manuel Bachmann
at. > > If an app is non-cooperative the compositor can do some stuff. For close > it can kill the client if it is not responding to pings. Minimize probably > should also force-hide the surface after a timeout even if the client is > responding to pings. However thi

Re: Weston : ideas about xdg_sell, and implementation for a taskbar

2014-01-30 Thread Manuel Bachmann
the way it wants. What do you think of that ? Regards, Tarnyko 2014-01-31 Manuel Bachmann : > Hi Bill, and thanks a lot for sharing your thoughts, > > > You must allow a "toplevel" to become a non-toplevel and vice-versa > > That's true ; the current implement

Re: Weston : ideas about xdg_sell, and implementation for a taskbar

2014-01-30 Thread Manuel Bachmann
n is pressed, they now call a >> taskbar_move_surface() >> function which will do the former, and additionally send a hint to the >> desktop_shell >> that this has been done (so the corresponding taskbar button stays tuned). >> > > I'm not clear on why the former api can't do this and you felt a new api > had to be added. > -- Regards, *Manuel BACHMANN Tizen Project VANNES-FR* ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Weston : ideas about xdg_sell, and implementation for a taskbar

2014-01-30 Thread Manuel Bachmann
( https://fosdem.org/2014/schedule/event/porting_legacy_x11_to_wayland/) if anyone wants to discuss the subject with me. -- Regards, *Manuel BACHMANN Tizen Project VANNES-FR* ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [Weston] RDP backend state

2013-12-05 Thread Manuel BACHMANN
useless. To be fair, I tried with xfreerdp too, but not on different hosts. I'll try again this evening. Regards, Tarnyko 2013/12/5 Hardening > Le 05/12/2013 15:14, Manuel BACHMANN a écrit : > > Hi folks, >> >> I tried to build the Weston 1.3.1 RDP backend using lates

Re: [Weston] RDP backend state

2013-12-05 Thread Manuel BACHMANN
may be related to functionality breaks in both Weston and FreeRDP. If you managed got an image, then maybe the "checkDescriptor" message isn't relevant. I'll dig into this. Regards, Manuel 2013/12/5 Michael Hanselmann > On 05.12.2013 15:14, Manuel BACHMANN wrote: >

  1   2   >