Re: Which distro/version is better for compiling Wayland?

2012-06-11 Thread Simon Hong
yes, Intel video card is good for develop wayland. Mine is nvidia (GT425M) My weston shows strange screen. I hate nvidia. On Tue, Jun 12, 2012 at 8:36 AM, Xiong Jiang wrote: > I was just building libvpx as is following the wayland building > instruction. I have no much idea on it. Glad it builds

Re: [PATCH weston v2] compositor: Update grab variable in notify_key() after binding handler.

2012-06-11 Thread Kristian Høgsberg
On Mon, Jun 11, 2012 at 02:59:31PM -0600, Scott Moreau wrote: > We need to update the temp grab pointer after > weston_compositor_run_key_binding() > before calling the key handler because it may have installed a new grab. Thanks for figuring this out. Kristian > --- > > Only update the variabl

Re: Which distro/version is better for compiling Wayland?

2012-06-11 Thread Xiong Jiang
I was just building libvpx as is following the wayland building instruction. I have no much idea on it. Glad it builds now and I can run the demos on Intel video card. On Mon, Jun 11, 2012 at 7:17 AM, Kristian Høgsberg wrote: > On Sun, Jun 10, 2012 at 10:58 PM, Xiong Jiang wrote: >> Got error wh

Re: [PATCH weston v2] compositor: Update grab variable in notify_key() after binding handler.

2012-06-11 Thread Daniel Stone
Hi, On 11 June 2012 21:59, Scott Moreau wrote: > We need to update the temp grab pointer after > weston_compositor_run_key_binding() > before calling the key handler because it may have installed a new grab. Great catch, thanks; this is definitely the right fix. I'd probably do something like

Re: Patch that "fixes" compositor-x11

2012-06-11 Thread Bill Spitzak
Prigent, Christophe wrote: Bill, Can you find out if my "fix" of printing to a terminal on the same screen also works on your system? Is this fix integrated? I recently synchronized and built again. I'm still reproducing the problem of slowness. No, my "fix" is bogus. It relies on a prin

[PATCH weston v2] compositor: Update grab variable in notify_key() after binding handler.

2012-06-11 Thread Scott Moreau
We need to update the temp grab pointer after weston_compositor_run_key_binding() before calling the key handler because it may have installed a new grab. --- Only update the variable if the binding handler was called. src/compositor.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(

[PATCH weston] compositor: Update grab variable in notify_key() after binding handler.

2012-06-11 Thread Scott Moreau
We need to update the temp grab pointer after weston_compositor_run_key_binding() before calling the key handler because it may have installed a new grab. --- src/compositor.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 26c9a9

[PATCH weston v2 5/5] shell: Store focus state in workspaces

2012-06-11 Thread Jonas Ådahl
When moving moving back to a workspace or resuming a locked desktop the keyboard focus state information was lost. By pushing the state to the workspace when navigating away from a workspace, or locking a desktop, we can restore it when navigating back, or resuming. Signed-off-by: Jonas Ådahl ---

[PATCH weston v2 4/5] shell: Animate workspace changes

2012-06-11 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- src/shell.c | 258 +-- 1 file changed, 250 insertions(+), 8 deletions(-) diff --git a/src/shell.c b/src/shell.c index a323b0c..993b104 100644 --- a/src/shell.c +++ b/src/shell.c @@ -39,6 +39,7 @@ #include "l

[PATCH weston v2 3/5] shell: Virtual workspaces

2012-06-11 Thread Jonas Ådahl
A workspace is a list of top level surfaces visible at a time. New toplevel surfaces are added to the current workspace. Default keybindings (modifier - Up, modifier - Down, modifier - F1 up to F6) are used for navigating between workspaces. By default a single workspace is created. Surfaces of in

[PATCH weston v2 2/5] compositor: Buffer all frame callbacks in 'weston_surface'

2012-06-11 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- src/compositor.c | 28 +++- src/compositor.h |1 - 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 983e4f5..9d9145b 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1053

[PATCH weston v2 1/5] compositor: Change the definition of a surface being mapped

2012-06-11 Thread Jonas Ådahl
Previously a surface was considered mapped when it had an output assigned. This prevents a surface's animation to be suspended by setting its output to NULL. A better definition which enables having headless surfaces is a surface is mapped when it is in a layer. Signed-off-by: Jonas Ådahl --- sr

[PATCH weston] Remove weston_compositor_get_time() usage from animations.

2012-06-11 Thread Scott Moreau
--- Prepare for weston_compositor_get_time() removal. src/compositor.c |9 +++-- src/util.c | 12 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 0fad66c..79b7082 100644 --- a/src/compositor.c +++ b/src/compo

[PATCH weston] Implement animated transitions for zoom in/out.

2012-06-11 Thread Scott Moreau
--- Yet another version of this patch. Here, the comment is removed and actually runs the first frame since the timestamp isn't causing a problem anymore. src/compositor.c | 88 + src/compositor.h | 41 ++--- src/shell.c

[PATCH] Implement animated transitions for zoom in/out.

2012-06-11 Thread Scott Moreau
--- src/compositor.c | 96 ++ src/compositor.h | 41 +-- src/shell.c | 18 -- 3 files changed, 113 insertions(+), 42 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 26c9a95..214164f 1006

Re: [PATCH 3/3] Implement animated transitions for zoom in/out.

2012-06-11 Thread Scott Moreau
> > +static void > > +weston_zoom_frame_z(struct weston_animation *animation, > > + struct weston_output *output, uint32_t msecs) > > +{ > > + if (animation->frame_counter == 0) > > + /* We need to discard the first frame since the > > + * animation was star

Re: [PATCH xserver] xwayland: send synthetic buttons up events when grabbing

2012-06-11 Thread Tiago Vignatti
On 06/08/2012 08:17 PM, Kristian Høgsberg wrote: On Fri, Jun 08, 2012 at 08:10:49PM +0300, Tiago Vignatti wrote: Signed-off-by: Tiago Vignatti --- I haven't thought much whether xwm now will really need to grab the pointer during move/resize. Ah, this was only half of what we discussed in IRC

RE: Patch that "fixes" compositor-x11

2012-06-11 Thread Prigent, Christophe
Bill, > Can you find out if my "fix" of printing to a terminal on the same > screen also works on your system? Is this fix integrated? I recently synchronized and built again. I'm still reproducing the problem of slowness. Christophe. -Original Message- From: wayland-devel-bounces+chr

Re: Unable to load cursor when weston server is loaded

2012-06-11 Thread Rob Bradford
On 11 June 2012 14:55, wrote: > Hi, > > I have built weston with wayland (wayland 0.85). When I try to run weston > server it is loaded properly but the cursor is not displayed. > > When I dig into more detail and put some logs I could see that following > functions are getting called: > create

Re: Which distro/version is better for compiling Wayland?

2012-06-11 Thread Kristian Høgsberg
On Sun, Jun 10, 2012 at 10:58 PM, Xiong Jiang wrote: > Got error when linking weston: > >  CCLD   wcap-decode > /home/jxiong/install/lib/libvpx.a(onyx_if.c.o): In function > `vp8_change_config': > (.text+0x1c1a): undefined reference to `sem_wait' > /home/jxiong/install/lib/libvpx.a(onyx_if.c.o):

Re: More logging

2012-06-11 Thread Kristian Høgsberg
On Mon, Jun 11, 2012 at 02:03:26PM +0300, Pekka Paalanen wrote: > Hi, > > the following patch series applies on top of Martin Minarik's 3-patch > series > compositor: Print uname information to log > Log: Remove date from timestamp, log it only once. > compositor-android.c: Add m

Unable to load cursor when weston server is loaded

2012-06-11 Thread avijit.manna
Hi, I have built weston with wayland (wayland 0.85). When I try to run weston server it is loaded properly but the cursor is not displayed. When I dig into more detail and put some logs I could see that following functions are getting called: create_pointer_surfaces()->display_create_surface_f

Re: [PATCH] add simple-drm test

2012-06-11 Thread Kristian Høgsberg
On Mon, Jun 11, 2012 at 07:09:55AM +, Zhao, Halley wrote: > Hi Kristian: > Are you ok with this test case for wayland-drm? > Could it be added to Weston demo clients? I would rather add it to mesa under src/egl/wayland/wayland-drm as a noinst_PROGRAM, since that's where we have the drm protoco

Re: [PATCH] desktop-shell: move panel_add_clock call to panel_create function

2012-06-11 Thread Kristian Høgsberg
On Sat, Jun 09, 2012 at 08:33:29PM +0200, Rafal Mielniczuk wrote: > Putting panel_add_clock in launcher_section_done handler > will cause clock to be created multiple times with every launcher. > Fix is to move the call to panel_create function. Oops, I should have caught that, thanks for fixing.

Re: [PATCH] compositor: change position of weston_log_file_open call

2012-06-11 Thread Kristian Høgsberg
On Sat, Jun 09, 2012 at 03:10:28PM +0200, Rafal Mielniczuk wrote: > In case XDG_RUNTIME_DIR was not set, weston_log > will crash the compositor instead of spitting > error msg, as weston log was not yet opened Ah, yes, not good. Committed. Kristian > --- > src/compositor.c |4 ++-- > 1 file

Re: [PATCH 1/3] Move animation_list to weston_output.

2012-06-11 Thread Kristian Høgsberg
On Fri, Jun 08, 2012 at 07:40:53PM -0600, Scott Moreau wrote: Looks good, this one and 2/3 committed. > --- > src/compositor.c | 10 +++--- > src/compositor.h |2 +- > src/util.c |4 ++-- > 3 files changed, 10 insertions(+), 6 deletions(-) > > diff --git a/src/compositor.c b

Re: [PATCH 3/3] Implement animated transitions for zoom in/out.

2012-06-11 Thread Kristian Høgsberg
On Fri, Jun 08, 2012 at 07:40:55PM -0600, Scott Moreau wrote: > --- > src/compositor.c | 92 + > src/compositor.h | 41 +-- > src/shell.c | 18 +-- > 3 files changed, 109 insertions(+), 42 deletions(-) > >

Re: [PATCH weston 1/5] compositor: prettify program info in log

2012-06-11 Thread Pekka Paalanen
Sorry, ignore this incomplete series. I accidentally pasted garbage into the In-Reply-To prompt of git-send-email. The correct series is as replies to "More logging". Thanks, pq On Mon, 11 Jun 2012 14:04:21 +0300 Pekka Paalanen wrote: > No need to print current date-time anymore, since log.

[PATCH weston 5/5] compositor: log more EGL and GL info

2012-06-11 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- src/compositor.c | 43 --- 1 files changed, 36 insertions(+), 7 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 573a7bb..e37d48f 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -2897,7 +2897,8

[PATCH weston 4/5] compositor: log module loading

2012-06-11 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- src/compositor.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 29490b5..573a7bb 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -3105,16 +3105,16 @@ load_module(const char *name, co

[PATCH weston 3/5] compositor: move uname log earlier

2012-06-11 Thread Pekka Paalanen
Basic information that does not depend on any modules. Signed-off-by: Pekka Paalanen --- src/compositor.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 87f5363..29490b5 100644 --- a/src/compositor.c +++ b/src/compositor.c @@

[PATCH weston 2/5] ignore git-version.h

2012-06-11 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- src/.gitignore |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/.gitignore b/src/.gitignore index eb3bbb5..5ec1157 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -1,3 +1,4 @@ +git-version.h weston weston-launch screenshooter-pr

[PATCH weston 1/5] compositor: prettify program info in log

2012-06-11 Thread Pekka Paalanen
No need to print current date-time anymore, since log.c does the date automatically. Signed-off-by: Pekka Paalanen --- src/compositor.c | 13 ++--- src/log.h|3 +++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 6dea

[PATCH weston 2/5] ignore git-version.h

2012-06-11 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- src/.gitignore |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/.gitignore b/src/.gitignore index eb3bbb5..5ec1157 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -1,3 +1,4 @@ +git-version.h weston weston-launch screenshooter-pr

[PATCH weston 1/5] compositor: prettify program info in log

2012-06-11 Thread Pekka Paalanen
No need to print current date-time anymore, since log.c does the date automatically. Signed-off-by: Pekka Paalanen --- src/compositor.c | 13 ++--- src/log.h|3 +++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 6dea

More logging

2012-06-11 Thread Pekka Paalanen
Hi, the following patch series applies on top of Martin Minarik's 3-patch series compositor: Print uname information to log Log: Remove date from timestamp, log it only once. compositor-android.c: Add missing include log.h Thanks, pq __

Re: [PATCH 2/3] Log: Remove date from timestamp, log it only once.

2012-06-11 Thread Pekka Paalanen
Hi Martin, this is a good series, and I'm already working based on this. I think this can go in as is, though I do want point out one thing. On Mon, 11 Jun 2012 01:00:23 +0200 Martin Minarik wrote: > This patch may be useful, the timestamp with date seems too long. > --- > src/log.c | 13 ++

Re: Patch that "fixes" compositor-x11

2012-06-11 Thread Ander Conselvan de Oliveira
On 06/08/2012 10:26 PM, Bill Spitzak wrote: Actually I am running classic with no effects already and I am having this bug. That explains why nothing happened when I ran ccsm and turned the detector on/off. There was no program to kill/restart. Ok, so we're dealing with different problems. U

Re: [PATCH wayland] wayland-cursor: add an option that changes the cursor theme directory

2012-06-11 Thread Ander Conselvan de Oliveira
On 06/08/2012 04:08 PM, avijit.ma...@wipro.com wrote: Hi, Thanks for your quick reply. Is this patch available for Wayland 0.85 as well. libwayland-cursor was introduced after the 0.85 release, so no. I have a requirement for Wayland 0.85 and I am not able to load the cursor. It always giv

RE: [PATCH] add simple-drm test

2012-06-11 Thread Zhao, Halley
Hi Kristian: Are you ok with this test case for wayland-drm? Could it be added to Weston demo clients? > -Original Message- > From: Zhao, Halley > Sent: Friday, June 08, 2012 10:11 AM > To: wayland-devel@lists.freedesktop.org > Cc: Zhao, Halley > Subject: [PATCH] add simple-drm test > >