Re: [PATCH] xRandr strikes back

2013-03-10 Thread Dave Airlie
On Mon, Mar 11, 2013 at 2:09 AM, Hardening wrote: > On 10/03/2013 16:17, Jonas Ådahl wrote: >> On Sun, Mar 10, 2013 at 3:53 PM, Hardening wrote: >>> This patch adds a wlrandr extension. It is useful to test >>> mode switching. The patch provides the weston-switch-mode >>> utility that can be use

Re: [PATCH gtk+] wayland: Remove unneeded semicolons.

2013-03-10 Thread Scott Moreau
On Wed, Oct 24, 2012 at 9:38 PM, Scott Moreau wrote: > --- > gdk/wayland/gdkdevice-wayland.c | 2 +- > gdk/wayland/gdkdisplay-wayland.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gdk/wayland/gdkdevice-wayland.c > b/gdk/wayland/gdkdevice-wayland.c > index cef1ddf

[PATCH gtk+] wayland: Remove unused header

2013-03-10 Thread Scott Moreau
--- gdk/wayland/gdkwindow-wayland.c |1 - 1 file changed, 1 deletion(-) diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c index 00b0c54..d4e8150 100644 --- a/gdk/wayland/gdkwindow-wayland.c +++ b/gdk/wayland/gdkwindow-wayland.c @@ -36,7 +36,6 @@ #include #inclu

[PATCH gtk+] wayland: Attach buffer before committing

2013-03-10 Thread Scott Moreau
With recent changes in attach semantics, we always need to attach before committing. This fixes the problem with wayland gtk clients not updating surface contents correctly since latest changes regarding attach. --- gdk/wayland/gdkwindow-wayland.c |7 --- 1 file changed, 7 deletions(-) di

Re: [PATCH] xRandr strikes back

2013-03-10 Thread Hardening
On 10/03/2013 16:17, Jonas Ådahl wrote: > On Sun, Mar 10, 2013 at 3:53 PM, Hardening wrote: >> This patch adds a wlrandr extension. It is useful to test >> mode switching. The patch provides the weston-switch-mode >> utility that can be use quite the same way as xrandr to >> change graphical modes

Re: [PATCH] xRandr strikes back

2013-03-10 Thread Jonas Ådahl
On Sun, Mar 10, 2013 at 4:53 PM, Jonas Ådahl wrote: > On Sun, Mar 10, 2013 at 4:39 PM, Scott Moreau wrote: >> >> >> On Sun, Mar 10, 2013 at 9:17 AM, Jonas Ådahl wrote: >>> >>> On Sun, Mar 10, 2013 at 3:53 PM, Hardening wrote: >>> > This patch adds a wlrandr extension. It is useful to test >>> >

Re: [PATCH] xRandr strikes back

2013-03-10 Thread Jonas Ådahl
On Sun, Mar 10, 2013 at 4:39 PM, Scott Moreau wrote: > > > On Sun, Mar 10, 2013 at 9:17 AM, Jonas Ådahl wrote: >> >> On Sun, Mar 10, 2013 at 3:53 PM, Hardening wrote: >> > This patch adds a wlrandr extension. It is useful to test >> > mode switching. The patch provides the weston-switch-mode >>

Re: [PATCH] xRandr strikes back

2013-03-10 Thread Scott Moreau
On Sun, Mar 10, 2013 at 9:17 AM, Jonas Ådahl wrote: > On Sun, Mar 10, 2013 at 3:53 PM, Hardening wrote: > > This patch adds a wlrandr extension. It is useful to test > > mode switching. The patch provides the weston-switch-mode > > utility that can be use quite the same way as xrandr to > > chan

[PATCH] Revert "weston.ini: Use 'modeline' key for modeline example"

2013-03-10 Thread Scott Moreau
This reverts commit 97a56145636316fdb431b91ec64adff217287cd9. The current code detects the mode key, not modeline. Reference: http://cgit.freedesktop.org/wayland/weston/tree/src/compositor-drm.c#n2464 --- I'm not sure where the confusion is here. weston.ini |2 +- 1 file changed, 1 insertio

Re: [PATCH] xRandr strikes back

2013-03-10 Thread Jonas Ådahl
On Sun, Mar 10, 2013 at 3:53 PM, Hardening wrote: > This patch adds a wlrandr extension. It is useful to test > mode switching. The patch provides the weston-switch-mode > utility that can be use quite the same way as xrandr to > change graphical modes. For now only the DRM backend supports > mode

[PATCH 3/3] compositor-rpi: Use correct enum, removes a warning

2013-03-10 Thread Philipp Brüschweiler
--- src/compositor-rpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor-rpi.c b/src/compositor-rpi.c index 9571e85..8163d85 100644 --- a/src/compositor-rpi.c +++ b/src/compositor-rpi.c @@ -577,7 +577,7 @@ rpi_element_dmx_move(struct rpi_element *element,

[PATCH 2/3 v3] compositor: turn off the idle timer when sleeping

2013-03-10 Thread Philipp Brüschweiler
Also updates the drm, fbdev and rpi backend to use weston_compositor_set_sleeping() and not set the state manually. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=61910 (rpi backend untested). v2: don't set DPMS state when switching VT. v3: move unrelated enum change into its own commit. ---

[PATCH weston v2] compositor-x11: Consider output position when computing relative motion

2013-03-10 Thread Scott Moreau
This fixes pointer movement for multiple x11 outputs. This was broken when switching to relative events. Fixes bug https://bugs.freedesktop.org/show_bug.cgi?id=61672 --- I do not currently have a multi-output setup to test drm but it's possible that evdev needs a similar fix. src/compositor-x11

[PATCH] xRandr strikes back

2013-03-10 Thread Hardening
This patch adds a wlrandr extension. It is useful to test mode switching. The patch provides the weston-switch-mode utility that can be use quite the same way as xrandr to change graphical modes. For now only the DRM backend supports mode switching, but other may follow. --- clients/Makefile.am

Re: [PATCH weston] compositor-x11: Fix multiple outputs

2013-03-10 Thread Philipp Brüschweiler
Sorry, seems to have been fixed already, please disregard. http://lists.freedesktop.org/archives/wayland-devel/2013-March/007824.html On Sun, Mar 10, 2013 at 3:46 PM, Philipp Brüschweiler wrote: > Fixes https://bugs.freedesktop.org/show_bug.cgi?id=61672 > --- > src/compositor-x11.c | 22 ++

[PATCH weston] compositor-x11: Fix multiple outputs

2013-03-10 Thread Philipp Brüschweiler
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=61672 --- src/compositor-x11.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/compositor-x11.c b/src/compositor-x11.c index 8e052dd..85318d9 100644 --- a/src/compositor-x11.c +++ b/src/compositor-x

[PATCH weston 2/2 v2] compositor: turn off the idle timer when sleeping

2013-03-10 Thread Philipp Brüschweiler
Also updates the drm, fbdev and rpi backend to use weston_compositor_set_sleeping() and not set the state manually. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=61910 (rpi backend untested). v2: don't set DPMS state when switching VT. --- src/compositor-drm.c | 2 +- src/compositor-fbde

[PATCH weston 2/2 v3] weston-launch: return better value if weston dies because of a signal

2013-03-10 Thread Philipp Brüschweiler
Before this commit, weston-launch returned 0 if weston was killed by a signal. This makes it hard to automatically test weston by using weston-launch, as there is no way to know why weston was terminated. This commit makes weston-launch return 10+N instead, where N is the code of the signal that t

[PATCH weston 2/2] compositor: turn off the idle timer when sleeping

2013-03-10 Thread Philipp Brüschweiler
Also updates the drm, fbdev and rpi backend to use weston_compositor_sleep() and not set the state manually. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=61910 (rpi backend untested). --- src/compositor-drm.c | 2 +- src/compositor-fbdev.c | 2 +- src/compositor-rpi.c | 4 ++-- src/comp

[PATCH weston 1/2] compositor: remove unused field option_idle_time

2013-03-10 Thread Philipp Brüschweiler
--- src/compositor.c | 1 - src/compositor.h | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index a2860fd..7df9658 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -3497,7 +3497,6 @@ int main(int argc, char *argv[]) sigacti

[PATCH weston 2/2 v2] weston-launch: return correct error code if weston dies because of a signal

2013-03-10 Thread Philipp Brüschweiler
Partial fix for https://bugs.freedesktop.org/show_bug.cgi?id=60935. If weston dies because of a signal, 10+N is now returned. But I can't reproduce the SIGHUP using the fbdev backend. --- src/weston-launch.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/

Re: [PATCH xserver] xwayland: Attach buffer before committing

2013-03-10 Thread Pekka Paalanen
On Sat, 9 Mar 2013 12:29:43 -0800 Daniel Stone wrote: > Hi, > > On 9 March 2013 07:24, Scott Moreau wrote: > > > diff --git a/hw/xfree86/xwayland/xwayland.c > > b/hw/xfree86/xwayland/xwayland.c > > index d97f4ee..f59bfe4 100644 > > --- a/hw/xfree86/xwayland/xwayland.c > > +++ b/hw/xfree86/xway