[PATCH v2 3/3] xwayland: Destroy xwl_output when wl_output gets removed

2015-05-16 Thread Dima Ryazanov
This makes Xwayland correctly handle a monitor getting unplugged. Signed-off-by: Dima Ryazanov --- hw/xwayland/xwayland-output.c | 1 + hw/xwayland/xwayland.c| 10 +- hw/xwayland/xwayland.h| 1 + 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/hw/xwayland

Re: [PATCH v2 3/3] xwayland: Destroy xwl_output when wl_output gets removed

2015-07-15 Thread Marek Chalupa
On 05/16/2015 07:38 AM, Dima Ryazanov wrote: This makes Xwayland correctly handle a monitor getting unplugged. Signed-off-by: Dima Ryazanov --- hw/xwayland/xwayland-output.c | 1 + hw/xwayland/xwayland.c| 10 +- hw/xwayland/xwayland.h| 1 + 3 files changed, 11 i

Re: [PATCH v2 3/3] xwayland: Destroy xwl_output when wl_output gets removed

2015-07-15 Thread Marek Chalupa
Hmm, it looks like there's new bug with this patch. I remember it worked pretty well before, but now it is not true anymore. Sometimes, after destroying the output with xterm opened on the other output, the xterm stops reacting on button press event. With xterm opened on both outputs, this does