Re: Clipboard and selection in wayland.

2013-03-09 Thread Yichao Yu
On Sun, Mar 10, 2013 at 12:07 AM, Scott Moreau wrote: > Hi Yichao, > > On Sat, Mar 9, 2013 at 9:47 PM, Yichao Yu wrote: >> >> Hi, >> >> In X11 there are CLIPBOARD and PRIMARY selection each correspond to >> the current clipboard and selected content and applications can >> monitor the change of t

Re: Clipboard and selection in wayland.

2013-03-09 Thread Scott Moreau
Hi Yichao, On Sat, Mar 9, 2013 at 9:47 PM, Yichao Yu wrote: > Hi, > > In X11 there are CLIPBOARD and PRIMARY selection each correspond to > the current clipboard and selected content and applications can > monitor the change of them using XFixes. In wayland, I have found > wl_data_device which I

Clipboard and selection in wayland.

2013-03-09 Thread Yichao Yu
Hi, In X11 there are CLIPBOARD and PRIMARY selection each correspond to the current clipboard and selected content and applications can monitor the change of them using XFixes. In wayland, I have found wl_data_device which I suppose should do the similar thing. The question is, since there is only

Clojure and the Wayland wire protocol

2013-03-09 Thread Daniel Barlow
Mostly for fun and for self-education, I am attempting to write some code in Clojure that speaks the Wayland wire protocol. Since I don't currently speak much Clojure nor know much about Wayland it's a slow process, but I'm enjoying figuring stuff out. I'm blogging my progress as I go. Someone o

Re: [PATCH xserver] xwayland: Attach buffer before committing

2013-03-09 Thread Daniel Stone
Hi, On 9 March 2013 07:24, Scott Moreau wrote: > diff --git a/hw/xfree86/xwayland/xwayland.c > b/hw/xfree86/xwayland/xwayland.c > index d97f4ee..f59bfe4 100644 > --- a/hw/xfree86/xwayland/xwayland.c > +++ b/hw/xfree86/xwayland/xwayland.c > @@ -344,6 +344,9 @@ void xwl_screen_post_damage(struct x

[PATCH weston 2/2] dnd: use the new wl_data_offer_finish() and free the wl_data_source on drop

2013-03-09 Thread Giulio Camuffo
--- clients/dnd.c| 20 ++-- clients/window.c | 13 - clients/window.h | 3 +++ 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/clients/dnd.c b/clients/dnd.c index 140f3f4..2b99ab1 100644 --- a/clients/dnd.c +++ b/clients/dnd.c @@ -48,6 +48,7 @@ stru

[PATCH wayland 1/2] client: add wl_data_offer_finish() and wl_data_source_dropped()

2013-03-09 Thread Giulio Camuffo
wl_data_offer_finish() must be called by the receiver client when the drop operation is done. It wants a uint argument which must be a wl_data_offer_dnd_action value, which are: ignore, copy, move, link. This action value is passed to the wl_data_source_dropped() event so that the source client can

[PATCH weston] weston.man: Document the way to disable idle timeout

2013-03-09 Thread Scott Moreau
--- man/weston.man |1 + 1 file changed, 1 insertion(+) diff --git a/man/weston.man b/man/weston.man index e7692c7..39d854b 100644 --- a/man/weston.man +++ b/man/weston.man @@ -117,6 +117,7 @@ seconds. The default timeout is 300 seconds. When there has not been any user input for the idle t

[PATCH weston 2/2] weston-launch: return correct error code if weston dies because of a signal

2013-03-09 Thread Philipp Brüschweiler
Partial fix for https://bugs.freedesktop.org/show_bug.cgi?id=60935. The correct code is now returned, but I can't reproduce the SIGHUP using the fbdev backend. --- src/weston-launch.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/weston-launch.c b/src/wes

[PATCH weston 1/2] weston-launch: move function calls out of assert()

2013-03-09 Thread Philipp Brüschweiler
--- src/weston-launch.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/weston-launch.c b/src/weston-launch.c index bc7f8a2..98f0111 100644 --- a/src/weston-launch.c +++ b/src/weston-launch.c @@ -209,6 +209,7 @@ setup_launcher_socket(struct weston_launch *wl) st

Re: Weston Pre-release Dependencies

2013-03-09 Thread Armin K.
On 03/09/2013 05:55 PM, s...@shealevy.com wrote: Hello, I am a maintainer for the NixOS Linux distribution, and I'd like to package weston and experiment with it as a replacement for X (I've already packaged libwayland). Generally we try to use released versions of packages whenever possible, bu

Weston Pre-release Dependencies

2013-03-09 Thread shea
Hello, I am a maintainer for the NixOS Linux distribution, and I'd like to package weston and experiment with it as a replacement for X (I've already packaged libwayland). Generally we try to use released versions of packages whenever possible, but the instructions at http://wayland.freedeskt

[PATCH xserver] xwayland: Attach buffer before committing

2013-03-09 Thread Scott Moreau
This fixes the wlshm path which was not updating the buffer correctly. --- hw/xfree86/xwayland/xwayland.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/xfree86/xwayland/xwayland.c b/hw/xfree86/xwayland/xwayland.c index d97f4ee..f59bfe4 100644 --- a/hw/xfree86/xwayland/xwayland.c +++