Re: [PATCH] client: Add acquire-fd API to avoid requiring a polling main thread

2013-04-12 Thread Kristian Høgsberg
On Thu, Apr 11, 2013 at 09:53:58AM +0200, Uli Schlachter wrote: > On 10.04.2013 23:55, Kristian Høgsberg wrote: > [...] > >+WL_EXPORT int > >+wl_display_acquire_fd(struct wl_display *display) > >+{ > >+char c = 0; > >+ > >+pthread_mutex_lock(&display->mutex); > >+ > >+if (display->reade

[PATCH] selection: send selection events to all connected clients

2013-04-12 Thread Jiergir Ogoerg
> A lot of useful features require clipboard access and monitoring > without having a keyboard focus, e.g. clipboard action (klipper[1] and > some download agents), command line access (IPython's %paste magic). > This patch sends out selection events to all clients when the > selection owner change

[PATCH] selection: send selection events to all connected clients, not only ones that has focus. This allows useful features like clipboard action and command line clipboard access.

2013-04-12 Thread Yichao Yu
From: Yichao Yu --- src/data-device.c | 61 --- 1 file changed, 18 insertions(+), 43 deletions(-) diff --git a/src/data-device.c b/src/data-device.c index 92ceb12..e5993a1 100644 --- a/src/data-device.c +++ b/src/data-device.c @@ -329,17 +329,

[PATCH] selection: send selection events to all connected clients

2013-04-12 Thread Yichao Yu
A lot of useful features require clipboard access and monitoring without having a keyboard focus, e.g. clipboard action (klipper[1] and some download agents), command line access (IPython's %paste magic). This patch sends out selection events to all clients when the selection owner changes no matte