Re: Getting pid of focus window

2011-01-17 Thread Daniel Poelzleithner
On 01/18/2011 01:00 AM, Marty Jack wrote: > Concerning what is going to be done in Wayland, we are not to the > point of designing these parts quite yet. I am confident there will > ultimately be mechanisms since people will want to write desktop > environments over Wayland. I know that wayland

[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

Re: Getting pid of focus window

2011-01-17 Thread Marty Jack
This is (a) really the wrong place to complain about the X Window System and (b) this mechanism has all been in place and stable and heavily used for many years and is not likely to change in any significant way. Concerning what is going to be done in Wayland, we are not to the point of designi

Getting pid of focus window

2011-01-17 Thread Daniel Poelzleithner
Hi, this weekend i wrote a plugin for ulatencyd which tries to get the pid of the window in focus so the program can get scheduled with more cpu slots then other programs. I don't want to flame on X11, but it is 1. Terrible to do. Even with root permissions you need workarounds just to connect. 2.

[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