Re: Possible to run an xorg desktop in Wayland?

2017-07-20 Thread Jonas Ådahl
On Thu, Jul 20, 2017 at 04:05:21PM -0600, Jeff Sadowski wrote: > So from what I gather wayland can run xorg under it right? > If I'm running xorg I should be able to run something like x11vnc to > connect to that xorg correct? > and run stuff like xdotool on that xorg as well right? Not really. No

Re: Possible to run an xorg desktop in Wayland?

2017-07-20 Thread Jeff Sadowski
after reading the logs for x11vnc I added a few more flags /usr/bin/x11vnc -o ~/x11vnc/x11vnc.log -capslock -loop -forever -shared -noxfixes -noxdamage -nowf -noscr -noxkb -usepw -passwdfile ~/x11vnc/passwd finally down to this in the log 20/07/2017 16:12:42 x11vnc version: 0.9.14 lastmod: 2013-

Possible to run an xorg desktop in Wayland?

2017-07-20 Thread Jeff Sadowski
So from what I gather wayland can run xorg under it right? If I'm running xorg I should be able to run something like x11vnc to connect to that xorg correct? and run stuff like xdotool on that xorg as well right? I'm testing out wayland under a virtualbox vm that I have running under xorg. My vm i

Re: [PATCH weston v11 08/13] compositor-drm: Introduce drm_plane_state structure

2017-07-20 Thread Pekka Paalanen
On Tue, 18 Jul 2017 14:14:30 +0100 Daniel Stone wrote: > Track dynamic plane state (CRTC, FB, position) in separate structures, > rather than as part of the plane. This will make it easier to handle > state management later, and much more closely tracks what the kernel > does with atomic modesets

Re: [PATCH weston v11 07/13] compositor-drm: Introduce drm_output_state structure

2017-07-20 Thread Pekka Paalanen
On Tue, 18 Jul 2017 14:14:29 +0100 Daniel Stone wrote: > Currently this doesn't actually really do anything, but will be used in > the future to track the state for both modeset and repaint requests. > Completion of the request gives us a single request-completion path for > both pageflip and vbl

Re: [PATCH weston v11 06/13] compositor-drm: Introduce drm_pending_state structure

2017-07-20 Thread Pekka Paalanen
On Tue, 18 Jul 2017 14:14:28 +0100 Daniel Stone wrote: > drm_pending_state is currently skeletal, but will be used to retain > data through begin_repaint -> assign_planes -> repaint -> repaint_flush. > > The flush and cancel functions are currently identical, only freeing the > state, but they w

Re: [PATCH weston v11 04/13] compositor-drm: Add universal plane awareness

2017-07-20 Thread Pekka Paalanen
On Tue, 18 Jul 2017 14:14:26 +0100 Daniel Stone wrote: > From: Pekka Paalanen > > Add awareness of, rather than support for, universal planes. Activate > the client cap when we start if possible, and if this is activated, > studiously ignore non-overlay planes. For now. > > Signed-off-by: Dani

[PATCH] libweston-desktop: add signals for title, app_id

2017-07-20 Thread Matt Hoosier
It's useful for the shell implementation to know when these change, for example to relay the information on to taskbars or similar. To avoid ABI changes or the need to make the weston_desktop_surface definition public, new functions are introduced for attaching listeners to these signals. Signed-

Re: [PATCH][weston] configure.ac: Add --with-wayland-scanner-path

2017-07-20 Thread Quentin Glidic
On 7/18/17 3:58 PM, Pekka Paalanen wrote: On Wed, 24 May 2017 11:32:21 +0300 Jussi Kukkonen wrote: On 23 May 2017 at 14:51, Quentin Glidic wrote: So you want to break the simple (cross-compiling) cases to fix something that doesn’t need fixing? I think that is not warranted. * My issue w

Re: [PATCH v4] Add xdg-output protocol

2017-07-20 Thread Olivier Fourdan
Hi Pekka, > you forgot to update the interface name in the arg. Argh!... > Fixing that, you can upgrade my Acked-by to Reviewed-by. :-) > No need to send v5 for me. Humm, I need to send an update nevertheless, otherwise we shall forget about your comment and the wrong version might end up bei

Re: [PATCH wayland-protocols] sysroot prefix

2017-07-20 Thread Quentin Glidic
On 7/20/17 11:25 AM, Daniel Stone wrote: Hi, On 20 July 2017 at 10:14, Quentin Glidic wrote: Using ${pc_sysrootdir} sounds like the correct thing to do. However, your patch introduces a triple / when PKG_CONFIG_SYSROOT_DIR is not set. Having two / is already trouble on some platform (though th

Re: [PATCH wayland-protocols] sysroot prefix

2017-07-20 Thread Daniel Stone
Hi, On 20 July 2017 at 10:14, Quentin Glidic wrote: > Using ${pc_sysrootdir} sounds like the correct thing to do. However, your > patch introduces a triple / when PKG_CONFIG_SYSROOT_DIR is not set. > Having two / is already trouble on some platform (though the one we > currently work on should be

Re: [PATCH wayland-protocols] sysroot prefix

2017-07-20 Thread Quentin Glidic
On 7/6/17 11:02 AM, Tomek Bury wrote: Hi, I've attached a trivial patch we discussed yesterday on #wayland channel. The patch adds a sysroot prefix to the "pkgdatadir" variable. The pkg-config automatically adds sysroot to paths returned by --cflags and --libs but *NOT* to --variable. The "

Re: [PATCH weston v4] libweston-desktop/xdg-shell: Properly handle ack_configure

2017-07-20 Thread Quentin Glidic
On 7/20/17 10:49 AM, Jonas Ådahl wrote: On Thu, Jul 20, 2017 at 10:45:38AM +0200, Quentin Glidic wrote: From: Quentin Glidic Now we keep track of serial->state association and we discard the states that the client ignored. Signed-off-by: Quentin Glidic Reviewed-by: Jonas Ådahl Thanks. A

Re: [PATCH weston v4] libweston-desktop/xdg-shell: Properly handle ack_configure

2017-07-20 Thread Jonas Ådahl
On Thu, Jul 20, 2017 at 10:45:38AM +0200, Quentin Glidic wrote: > From: Quentin Glidic > > Now we keep track of serial->state association and we discard the states > that the client ignored. > > Signed-off-by: Quentin Glidic Reviewed-by: Jonas Ådahl > --- > > On 7/20/17 10:24 AM, Jonas Ådah

Re: [PATCH v4] Add xdg-output protocol

2017-07-20 Thread Pekka Paalanen
On Wed, 19 Jul 2017 10:51:41 +0200 Olivier Fourdan wrote: > This protocol aims at describing outputs in way which is more in line > with the concept of an output on desktop oriented systems. > > Some information are more specific to the concept of an output for a > desktop oriented system and ma

[PATCH weston v4] libweston-desktop/xdg-shell: Properly handle ack_configure

2017-07-20 Thread Quentin Glidic
From: Quentin Glidic Now we keep track of serial->state association and we discard the states that the client ignored. Signed-off-by: Quentin Glidic --- On 7/20/17 10:24 AM, Jonas Ådahl wrote: > Noticed one more thing I missed in the previous review: cleanup of the > pending configure allocati

Re: [PATCH weston v3] libweston-desktop/xdg-shell: Properly handle ack_configure

2017-07-20 Thread Jonas Ådahl
On Thu, Jul 20, 2017 at 09:17:23AM +0200, Quentin Glidic wrote: > From: Quentin Glidic > > Now we keep track of serial->state association and we discard the states > that the client ignored. > > Signed-off-by: Quentin Glidic > --- > v3: > Fixed a tiny style issue > Now send an error on wrong

[PATCH weston v3] libweston-desktop/xdg-shell: Properly handle ack_configure

2017-07-20 Thread Quentin Glidic
From: Quentin Glidic Now we keep track of serial->state association and we discard the states that the client ignored. Signed-off-by: Quentin Glidic --- v3: Fixed a tiny style issue Now send an error on wrong serial libweston-desktop/xdg-shell-v5.c | 56 ++ libwe

Re: [PATCH weston v2 2/2] libweston-desktop/xdg-shell: Properly handle ack_configure

2017-07-20 Thread Quentin Glidic
On 7/20/17 5:56 AM, Jonas Ådahl wrote: On Tue, Jul 18, 2017 at 01:14:49PM +0200, Quentin Glidic wrote: From: Quentin Glidic Now we keep track of serial->state association and we discard the states that the client ignored. Signed-off-by: Quentin Glidic --- libweston-desktop/xdg-shell-v5.c |