Re: [PATCH 2/2] Define global handler on display creation

2011-02-03 Thread twied
Hi, I think I'd rather move the wl_display_iterate() that dispatches those events to wl_display_run() instead and keep display_set_global_handler() around as it is now. Do you that's possible? Won't work IMO: display_create(...) { ... wl_display_connect(...) ... wl_display_iterat

update building.html

2011-01-28 Thread twied
0001-add-resizor-and-eventdemo-to-building.html.patch Description: Binary data ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: Wayland and R600?

2011-01-25 Thread twied
Hi, this is not meant as an "official build guide", it's rather "what configuration is working for me": $ lspci | grep VGA 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3870 $ uname -r 2.6.37-trunk-amd64 $ cat /etc/apt/sources.list deb http://ftp.de.debian.org/debian/ test

wayland doesn't build anymore

2011-01-22 Thread twied
seems like the scanner needs to generate a wayland-common-protocol.h tim CC compositor-wayland.o In file included from ../wayland/wayland-server.h:32, from compositor.h:25, from compositor-wayland.c:40: ../wayland/wayland-server-protocol.h:122: error: nes

[PATCH] fix terminal crash

2011-01-19 Thread twied
Hi, terminal crashed for me randomly on resizing. Output from compositor: "failed to create image for name 16" Output from terminal: "sent request to invalid object" This patch fixes the issue, terminal runs stable here. --- clients/terminal.c | 10 -- 1 files changed, 8 insertions(+

[PATCH] select rgba / gbra at compile time

2011-01-17 Thread twied
Hi, sorry for spamming. This patch is a temporary solution for the rgba vs. bgra problem. The --enable-rgba configure switch (defaulting to disabled = bgra) allows Wayland to compile and run while mesa doesn't support bgra yet. --- compositor/compositor.c |5 + compositor/drm.c

[PATCH 4/4] fix resizing windows at top/left border

2011-01-17 Thread twied
--- clients/window.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/clients/window.c b/clients/window.c index 4f473c0..579b72c 100644 --- a/clients/window.c +++ b/clients/window.c @@ -1050,6 +1050,8 @@ handle_configure(void *data, struct wl_shell *shell, if(wid

[PATCH 3/4] remove declaration without definition from window.h

2011-01-17 Thread twied
--- clients/window.h |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/clients/window.h b/clients/window.h index 2709917..4388ee9 100644 --- a/clients/window.h +++ b/clients/window.h @@ -109,7 +109,6 @@ typedef void (*window_resize_handler_t)(struct window *window,

Subject: [PATCH 2/4] remove unused function in clients/smoke.c, silence warning

2011-01-17 Thread twied
--- clients/smoke.c | 17 - 1 files changed, 0 insertions(+), 17 deletions(-) diff --git a/clients/smoke.c b/clients/smoke.c index 7052cb4..0e9769f 100644 --- a/clients/smoke.c +++ b/clients/smoke.c @@ -45,23 +45,6 @@ struct smoke { struct { float *d, *u, *v; } b[2]; }

[PATCH 1/4] add clients to .gitignore

2011-01-17 Thread twied
Hi, I found some minor issues while playing around with Wayland and the toytoolkit. --- clients/.gitignore |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/clients/.gitignore b/clients/.gitignore index 2401358..182df7e 100644 --- a/clients/.gitignore +++ b/clients/.gi

[PATCH] window width or height <= 0 crashes the compositor

2011-01-16 Thread twied
Hi, I'm new to Wayland and not quite sure if this is the right place to check if the window's dimensions become zero or less. But at least it prevents the compositor from crashing. diff --git a/clients/window.c b/clients/window.c index 84d0418..4f473c0 100644 --- a/clients/window.c +++ b/cl