Re: Patch that "fixes" compositor-x11

2012-06-05 Thread Bill Spitzak
On 06/05/2012 02:09 PM, Kristian Høgsberg wrote: Argh, you're right, thanks. But you said that just adding the count and returning that alone didn't fix it, right? I wonder if we need a xcb_flush(compositor->conn); in x11_output_repaint() after the eglSwapBuffers() call. Maybe just

Re: Patch that "fixes" compositor-x11

2012-06-05 Thread Bill Spitzak
Kristian Høgsberg wrote: Argh, you're right, thanks. But you said that just adding the count and returning that alone didn't fix it, right? I wonder if we need a xcb_flush(compositor->conn); in x11_output_repaint() after the eglSwapBuffers() call. Maybe just before returning from x1

Re: Patch that "fixes" compositor-x11

2012-06-05 Thread Kristian Høgsberg
On Tue, Jun 5, 2012 at 3:11 PM, Bill Spitzak wrote: > Kristian Høgsberg wrote: > >> What do you mean by "produces a composite" and how do you know?  The >> x11 backend renders every 10ms when it's rendering continuously, not >> after every X event.  At least that's how it's supposed to work (and >

Re: Patch that "fixes" compositor-x11

2012-06-05 Thread Bill Spitzak
Kristian Høgsberg wrote: What do you mean by "produces a composite" and how do you know? The x11 backend renders every 10ms when it's rendering continuously, not after every X event. At least that's how it's supposed to work (and how it works here), if that doesn't happen for you, it would be

Re: [PATCH weston 4/6] xwm: initialize window decoration always as !override

2012-06-05 Thread Tiago Vignatti
On 06/05/2012 07:15 PM, Kristian Høgsberg wrote: On Mon, Jun 04, 2012 at 08:01:46PM +0300, Tiago Vignatti wrote: and read later whether some property like MOTIF_WM_HINTS wants to change it to a different value. Signed-off-by: Tiago Vignatti --- src/xwayland/window-manager.c |2 +- 1 file

Re: [PATCH weston 3/6] xwm: use override_redirect for determining or not top-level windows

2012-06-05 Thread Tiago Vignatti
On 06/05/2012 07:29 PM, Kristian Høgsberg wrote: On Tue, Jun 05, 2012 at 07:15:32PM +0300, Tiago Vignatti wrote: On 06/05/2012 07:13 PM, Kristian Høgsberg wrote: On Mon, Jun 04, 2012 at 08:01:45PM +0300, Tiago Vignatti wrote: "top-level window is a window whose override-redirect attribute is F

Re: [PATCH weston 3/6] xwm: use override_redirect for determining or not top-level windows

2012-06-05 Thread Kristian Høgsberg
On Tue, Jun 05, 2012 at 07:15:32PM +0300, Tiago Vignatti wrote: > On 06/05/2012 07:13 PM, Kristian Høgsberg wrote: > >On Mon, Jun 04, 2012 at 08:01:45PM +0300, Tiago Vignatti wrote: > >>"top-level window is a window whose override-redirect attribute is False", > >>ICCCM 4.1.1 > >> > >>Signed-off-by

Re: [PATCH weston 3/6] xwm: use override_redirect for determining or not top-level windows

2012-06-05 Thread Tiago Vignatti
On 06/05/2012 07:13 PM, Kristian Høgsberg wrote: On Mon, Jun 04, 2012 at 08:01:45PM +0300, Tiago Vignatti wrote: "top-level window is a window whose override-redirect attribute is False", ICCCM 4.1.1 Signed-off-by: Tiago Vignatti --- src/xwayland/window-manager.c | 14 +- 1 fil

Re: [PATCH weston 4/6] xwm: initialize window decoration always as !override

2012-06-05 Thread Kristian Høgsberg
On Mon, Jun 04, 2012 at 08:01:46PM +0300, Tiago Vignatti wrote: > and read later whether some property like MOTIF_WM_HINTS wants to change it > to a different value. > > Signed-off-by: Tiago Vignatti > --- > src/xwayland/window-manager.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH weston 3/6] xwm: use override_redirect for determining or not top-level windows

2012-06-05 Thread Kristian Høgsberg
On Mon, Jun 04, 2012 at 08:01:45PM +0300, Tiago Vignatti wrote: > "top-level window is a window whose override-redirect attribute is False", > ICCCM 4.1.1 > > Signed-off-by: Tiago Vignatti > --- > src/xwayland/window-manager.c | 14 +- > 1 file changed, 9 insertions(+), 5 deletions

Re: [PATCH weston 2/6] xwayland: fix typo on configure libs

2012-06-05 Thread Kristian Høgsberg
On Mon, Jun 04, 2012 at 08:01:44PM +0300, Tiago Vignatti wrote: Oops, committed. thanks, Kristian > Signed-off-by: Tiago Vignatti > --- > src/xwayland/Makefile.am |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/xwayland/Makefile.am b/src/xwayland/Makefile.am >

Re: [PATCH weston 1/6] xwm: don't try to remove nonexistent frame

2012-06-05 Thread Kristian Høgsberg
On Mon, Jun 04, 2012 at 08:01:43PM +0300, Tiago Vignatti wrote: > on the first time, the transient surface is mapped and viewable, then if it > gets unmapped on the second time it doesn't show up anymore. You mean override-redirect windows, right? > This happens with any X window that Weston maps

Re: Patch that "fixes" compositor-x11

2012-06-05 Thread Kristian Høgsberg
On Sun, Jun 03, 2012 at 12:12:20AM -0700, Bill Spitzak wrote: > For me weston compositor-x11 always ran really slow, as it produces > a composite after every X event. I managed to "fix" this with the > attached patch, and now multiple X events are read at a time, making > wayland look *much* faster

Inputs

2012-06-05 Thread Claudiu Lupu
Hello, I have a question regarding the compositor and keyboard/mouse inputs and surfaces. I have set some surfaces that I am manipulating using the ivi-shell. I have another surface that is a virtual keyboard. When I press a button on the surface a virtual keyboard driver is sending keyboard ev

[PATCH weston] Rewrite shm buffer file allocation

2012-06-05 Thread Pekka Paalanen
We had duplicated code in many places, using hardcoded paths for temporary files into more than one path. Some cases did not bother with O_CLOEXEC, and all hardcoded paths that might not exist. Add an OS helper function for creating a unique anonymous file with close-on-exec semantics. The helper

RE: Patch that "fixes" compositor-x11

2012-06-05 Thread Prigent, Christophe
Here are the result of more investigations: - I reproduce it when launching weston from a terminal under X (and also by making weston SUID root) - I don't reproduce it when launching weston if I 'unset DISPLAY' - I don't reproduce it when launching weston-launch (I read here http://wayland.freede

RE: Patch that "fixes" compositor-x11

2012-06-05 Thread Prigent, Christophe
Hello, I'm also having the problem. I'm using Ubuntu 11.04. My computer is quite powerful (Intel core i5, 4GiB memory, graphic card: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller) -Original Message- From: wayland-devel-bounces+christophe.prigent=