[PATCH wayland] tests/resources-test: Fix wl_resource_post_event call

2014-01-05 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- I do not know if this call is wrong of this the test just reveals a bug but without this, the wl_resource_post_event_array is called with random values tests/resources-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH] shell: run surface bindings only when focus surface is not NULL

2014-01-05 Thread Rafal Mielniczuk
This fixes the crash when move, rotate or resize binding is activated while exposay effect is active. Steps to reproduce: - activate exposay - try to rotate the surface with mod + right mouse button - crash --- desktop-shell/shell.c | 21 ++--- 1 file changed, 18 insertions(+), 3