Re: [RFC] damage handling rewrite

2012-02-03 Thread Pekka Paalanen
On Fri, 3 Feb 2012 17:43:52 +0200 Pekka Paalanen wrote: > Hi Kristian, Jesse, ... > Turned out surface damage is never cleared. Effectively we > repaint the whole display every time. Sorry, scrap this RFC. We were never supposed to support overlapping outputs this way. -- Pekka Paalanen http:/

Re: [weston PATCH v6 1/2] add implementation for set_maximised

2012-02-03 Thread Bill Spitzak
Pekka Paalanen wrote: Ah, I forgot in the reply to the protocol bits. Krh said something about wanting the output as a parameter here, explicitly set by the client. There was some scheme about letting clients know which output currently has their surfaces... I have written several programs tha

Re: [weston PATCH v6 1/2] add implementation for set_maximised

2012-02-03 Thread Bill Spitzak
juan.j.z...@linux.intel.com wrote: + es->geometry.x = 0; + es->geometry.y = panel_height; + edges = WL_SHELL_SURFACE_RESIZE_TOP|WL_SHELL_SURFACE_RESIZE_LEFT; + + fprintf(stderr, "configure: width=%d, height=%d", + output->current->width, + outp

Re: [PATCH] Implement move surface key bindings.

2012-02-03 Thread Bill Spitzak
On cursor images, I believe the interface can be extremely simple. There would be only one call, which is "set the cursor for this input device to this surface". Attaching new buffers to that surface will change the cursor image. Clients should be expected to set the desired cursor when the po

[RFC] damage handling rewrite

2012-02-03 Thread Pekka Paalanen
Hi Kristian, Jesse, while I was thinking on how to implement my fix to the wandering surface problem, I noticed a flaw in the surface transformation handling. weston_surface_configure() takes care to call weston_surface_damage_below(), but weston_surface_update_transform() does not. Therefore, I s

[PATCH] terminal: run $SHELL if set

2012-02-03 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- clients/terminal.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/clients/terminal.c b/clients/terminal.c index e5baa0e..2cb1e58 100644 --- a/clients/terminal.c +++ b/clients/terminal.c @@ -2370,6 +2370,7 @@ int main(int argc, char

[PATCH] Implement move surface key bindings.

2012-02-03 Thread Scott Moreau
From: Scott Moreau Date: Fri, Feb 3, 2012 at 2:58 AM Subject: Re: [PATCH] Implement move surface key bindings. To: Pekka Paalanen On Fri, Feb 3, 2012 at 1:29 AM, Pekka Paalanen wrote: > On Thu, 2 Feb 2012 11:46:17 -0700 > Scott Moreau wrote: > > > Super+F7 to initiate, arrow keys to move,

Re: [weston PATCH v6 1/2] add implementation for set_maximised

2012-02-03 Thread Pekka Paalanen
On Fri, 3 Feb 2012 16:16:17 +0800 juan.j.z...@linux.intel.com wrote: > From: Juan Zhao > > --- > src/shell.c | 53 + > 1 files changed, 53 insertions(+), 0 deletions(-) > > diff --git a/src/shell.c b/src/shell.c > index d15c8e2..48f1ceb 10

Re: [protocol v6 PATCH] add maximised protocol

2012-02-03 Thread Pekka Paalanen
On Fri, 3 Feb 2012 16:16:16 +0800 juan.j.z...@linux.intel.com wrote: > From: Juan Zhao > > add a request from the client to notify the compositor the maximised > operation. The compositor will send a configure event back to the > client > --- > protocol/wayland.xml |8 > 1 files c

Re: [PATCH] Implement move surface key bindings.

2012-02-03 Thread Pekka Paalanen
On Thu, 2 Feb 2012 11:46:17 -0700 Scott Moreau wrote: > Super+F7 to initiate, arrow keys to move, Enter to accept and Esc to > terminate. We need a way to move the cursor to an abitrary position such as a > warp_pointer function, instead of just moving the pointer image. We also need > a unif

[weston PATCH v6 2/2] add the test case for set_maximised

2012-02-03 Thread juan . j . zhao
From: Juan Zhao F9: set maximised F8: set toplevel to back --- clients/Makefile.am |6 +- clients/simple-rect.c | 654 + 2 files changed, 659 insertions(+), 1 deletions(-) create mode 100644 clients/simple-rect.c diff --git a/clients/Makef

[weston PATCH v6 1/2] add implementation for set_maximised

2012-02-03 Thread juan . j . zhao
From: Juan Zhao --- src/shell.c | 53 + 1 files changed, 53 insertions(+), 0 deletions(-) diff --git a/src/shell.c b/src/shell.c index d15c8e2..48f1ceb 100644 --- a/src/shell.c +++ b/src/shell.c @@ -417,6 +417,58 @@ get_default_output(struct

[PATCH 0] set_maximised implemetation v6 protocol + weston

2012-02-03 Thread juan . j . zhao
From: Juan Zhao I rebase the set_maximised work at first. Because it is independed with fullscreen protocol. --- protocol/wayland.xml |8 11 1 files changed, 8 insertions(+), 0 deletions(-) clients/Makefile.am |6 +- clients/simple-rect.c | 654 +++

[protocol v6 PATCH] add maximised protocol

2012-02-03 Thread juan . j . zhao
From: Juan Zhao add a request from the client to notify the compositor the maximised operation. The compositor will send a configure event back to the client --- protocol/wayland.xml |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/protocol/wayland.xml b/protocol/w