Re: [RFC wayland] doc: generate doxygen html output from the scanner

2015-11-05 Thread Tiago Vignatti
On 11/04/2015 09:44 PM, Peter Hutterer wrote: On Wed, Nov 04, 2015 at 03:30:29PM -0800, Bryce Harrington wrote: On Mon, Nov 02, 2015 at 10:27:54AM +1000, Peter Hutterer wrote: On Fri, Oct 30, 2015 at 03:40:33PM -0700, Bryce Harrington wrote: but: the current API docs in publican are useless. lo

Re: browser status on "pure wayland"

2014-06-18 Thread Tiago Vignatti
ome manual kilometric instruction on the how to and what's really needed would be awesome, thanks! On Wed, Jun 18, 2014 at 11:24 AM, Tiago Vignatti mailto:tiago.vigna...@linux.intel.com>> wrote: It's not about Wayland per se that made VDA on Linux possible... in sho

Re: browser status on "pure wayland"

2014-06-18 Thread Tiago Vignatti
x27;t have this functionality? Yomi On Jun 17, 2014 9:36 AM, "Tiago Vignatti" mailto:tiago.vigna...@linux.intel.com>> wrote: yup, Ozone-Wayland enables a bunch of Chromium based targets including the Chromium Browser. I have it daily running on my testing machines and the sta

Re: browser status on "pure wayland"

2014-06-17 Thread Tiago Vignatti
yup, Ozone-Wayland enables a bunch of Chromium based targets including the Chromium Browser. I have it daily running on my testing machines and the state is quite good, with most of expected functionalities in place. In fact yesterday I've added video decoding acceleration support (through lib

Re: [chromium-dev] Re: PSA: Chromium Wayland preview

2013-11-19 Thread Tiago Vignatti
#else g_native_display = EGL_DEFAULT_DISPLAY; #endif On Tue, Nov 12, 2013 at 1:09 PM, Tiago Vignatti mailto:tiago.vigna...@intel.com>> wrote: argh, Pekka (pq) just told me in #wayland that we're probably talking about two different things here. Sorry, my confusion. If you we

Re: [chromium-dev] Re: PSA: Chromium Wayland preview

2013-11-12 Thread Tiago Vignatti
nouncement message, we expect that the distribution packagers people will come and build the package for themselves, in principle. Tiago On 11/12/2013 03:43 PM, Tiago Vignatti wrote: no, there isn't any automated compilation tool yet. To be honest I'm not entirely sure whether it's

Re: [chromium-dev] Re: PSA: Chromium Wayland preview

2013-11-12 Thread Tiago Vignatti
27;d need about half dozen of commands before it starts the actual built process. Do you think we can do better with an ebuild? Thanks, Tiago On 11/12/2013 03:25 PM, Mike Lothian wrote: Hi Out of interest is there an ebuild available for this? Cheers Mike On 11 Nov 2013 21

Re: PSA: Chromium Wayland preview

2013-11-12 Thread Tiago Vignatti
Hi, On 11/12/2013 11:07 AM, Tarnyko wrote: Hello Tiago, Neat, thank you very much for your amazing work ! Fedora binary here ; works fine with a small sample of websites. You may be aware that some sites aren't working (including Google), and even know the cause, but anyways, here are some of th

PSA: Chromium Wayland preview

2013-11-11 Thread Tiago Vignatti
We are happy to announce the first "preview" of Chromium browser with Wayland support, using Ozone-Wayland implementation. Check the announcement and the details here please: https://01.org/ozone-wayland/blogs/tiagovignatti/2013/chromium-browser-wayland-preview-release Tiago

Re: Do any Web Layout Engines support Wayland yet?

2013-11-04 Thread Tiago Vignatti
ons of cross-compile build for chromium ozone-wayland would be helpful. Does anyone tried yet? Best Regards, Prabhu -Original Message- From: wayland-devel-boun...@lists.freedesktop.org [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Tiago Vignatti Sent: Friday, Novembe

Re: Do any Web Layout Engines support Wayland yet?

2013-11-01 Thread Tiago Vignatti
Hi, I'm in the process of releasing a "demo" version of Chromium browser, aimed for developers only. You can follow the general development in here: https://01.org/ozone-wayland https://github.com/01org/ozone-wayland#introduction there's also Crosswalk application runtime based on Ozone-Waylan

Welcome to Chromium's Ozone-Wayland

2013-09-18 Thread Tiago Vignatti
Ozone is a set of C++ classes in Chromium for abstracting different window systems on Linux. It provides abstraction for the construction of accelerated surfaces underlying Aura UI framework, input devices assignment and event handling. http://www.chromium.org/developers/design-documents/ozone

Re: XWayland on Xorg server 1.15

2013-06-14 Thread Tiago Vignatti
On 06/14/2013 11:20 AM, Quentin Glidic wrote: Hello guys, I rebased the xwayland-1.12 branch of xorg-server on top of the current git master (which is the 1.15 dev version IIUC). You can find it here: http://git.sardemff7.net/wayland/xorg-server/log/?h=xwayland-1.15 I also updated the Intel an

Re: Things that killed my motivation to play with wayland

2013-06-12 Thread Tiago Vignatti
Hi, On 06/12/2013 04:40 AM, sardemff7+wayl...@sardemff7.net wrote: On 12/06/2013 02:49, dar...@chaosreigns.com wrote: 2) The XWayland segfault bug: https://bugs.freedesktop.org/show_bug.cgi?id=59983 This was the reason I stopped using weston as my primary UI at home in September. Tiago said h

[PATCH weston] xwayland: Forward global position to X

2013-06-12 Thread Tiago Vignatti
xeyes works as expected now. subwindows are popped also as expected. This patch should fix the following: https://bugs.freedesktop.org/show_bug.cgi?id=59983 Signed-off-by: Tiago Vignatti --- Hey guys, This fix the problem mentioned above but exposes something that was already buggy before

Re: Clarifying scope and goals for weston

2013-04-17 Thread Tiago Vignatti
On 04/17/2013 05:34 PM, Kristian Høgsberg wrote: Hello list, A few weeks ago, Thiago Maciera sent out a good email about patch review and how everybody can help with the review effort: http://lists.freedesktop.org/archives/wayland-devel/2013-March/008174.html I see more reviews on the list

[PATCH weston] clients: tablet-shell: Wait for set_homescreen hits the server

2013-04-09 Thread Tiago Vignatti
This relates to: https://bugs.freedesktop.org/show_bug.cgi?id=57634 https://bugs.freedesktop.org/show_bug.cgi?id=57637 Signed-off-by: Tiago Vignatti --- clients/tablet-shell.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/clients/tablet-shell.c b/clients/tablet-shell.c index

Re: Wayland and Weston 1.1 just around the corner

2013-04-09 Thread Tiago Vignatti
On 04/09/2013 12:13 AM, Kristian Høgsberg wrote: • XWM split out as a client. The core feature in this work was about avoiding the deadlock between X and the X WM in weston. We fixed this by making the authentication step asynchrohous instead. right. And the two immediate tasks for

[PATCH weston 3/4] shell: Use pid when binding the client shell

2013-04-04 Thread Tiago Vignatti
ID instead, and change the logic in all the callers. Signed-off-by: Tiago Vignatti --- src/shell.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/shell.c b/src/shell.c index 246d342..f23b855 100644 --- a/src/shell.c +++ b/src/shell.c @@ -3397,12 +3397,14 @@ bind_deskt

[PATCH weston 2/4] shell: Add config options to set the client shell

2013-04-04 Thread Tiago Vignatti
We're now able to set "client-path=path" in "shell-plugin" section for picking a particular shell client. Signed-off-by: Tiago Vignatti --- man/weston.ini.man |3 +++ src/shell.c|9 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a

[PATCH weston 1/4] shell: Split plugin and client configure sections

2013-04-04 Thread Tiago Vignatti
Before we were using 'shell' section for both the plugin and client configurations. This commit separates in 'shell-plugin' and 'shell-client', for organization matters. Signed-off-by: Tiago Vignatti --- clients/desktop-shell.c |2 +- clients/window.c

[PATCH weston 4/4] shell: Fix client shell pointer assignment

2013-04-04 Thread Tiago Vignatti
weston_client_launch() might return a client pointer that will not be the actual one the shell client is binding. Therefore, assign the pointer only later after the interface is already bound. Signed-off-by: Tiago Vignatti --- src/shell.c |9 +++-- 1 file changed, 3 insertions(+), 6

Re: [PATCH 00/18] doc: misc improvements

2013-04-02 Thread Tiago Vignatti
On 04/01/2013 09:08 PM, Peter Hutterer wrote: About half of those are Tiago's patches that I took from the list/his repo that hadn't been merged yet. The rest are largely style fixes to improve on the html/pdf output generated by publican. THANK YOU Peter! Possibly controversial: 14/18, rena

Re: Compiz is Dead - Beryl Lives Again? Enter - Northfield/Norwood

2013-03-25 Thread Tiago Vignatti
On 03/25/2013 04:28 PM, Pekka Paalanen wrote: You only need the Weston fork, just use libwayland from upstream. noupe. Scott actually just needs to fork desktop plugin or maybe not even that, just to create a new desktop client for starting his . I've created two examples of repository here

Re: Compiz is Dead - Beryl Lives Again? Enter - Northfield/Norwood

2013-03-25 Thread Tiago Vignatti
As you said in the other email thread, it seems that your end goal is more related with desktop aesthetics and building a pretty DE. Thus core compositor and protocol development is not the priority. So in my opinion I'm not sure that forking Wayland/XWayland/Mesa or any of the projects bein

[PATCH v5] xwayland: Use new DRI2 AuthMagic3

2013-02-08 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- v3: (nil) v4: (nil) v5: - rebase against correct branch. src/intel_dri.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/intel_dri.c b/src/intel_dri.c index 038940e..f1a686c 100644 --- a/src/intel_dri.c +++ b/src/intel_dri.c

[PATCH v5 xserver] xwayland: Don't block in DRI2 authentication mechanism

2013-02-08 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- v2: - added AuthMagic3, for passing ClientPtr - fixed server internal ABI issue, by maintaining DRI2Authenticate intact - fixed multiple clients accesses to DRI2 authenticate, using Wayland callback mechanism to ensure they all go atomically v3

[PATCH v5 weston] tests: Add XWayland test

2013-02-08 Thread Tiago Vignatti
. Signed-off-by: Tiago Vignatti --- v2: - added autoconf option for enabling/disabling - improved comments throughout the code v3: (nil) v4: (nil) v5: - use the DRI2Connect reply for fetching device instead of hard-coding /dev/dri/card0. configure.ac |6 ++ tests

[PATCH v4 xserver] xwayland: Don't block in DRI2 authentication mechanism

2013-02-07 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- v2: - added AuthMagic3, for passing ClientPtr - fixed server internal ABI issue, by maintaining DRI2Authenticate intact - fixed multiple clients accesses to DRI2 authenticate, using Wayland callback mechanism to ensure they all go atomically v3

[PATCH v3 intel] xwayland: Use new DRI2 AuthMagic3

2013-02-06 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- v3: (nil) src/intel_dri.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/intel_dri.c b/src/intel_dri.c index fa04e18..7c0d25d 100644 --- a/src/intel_dri.c +++ b/src/intel_dri.c @@ -1617,7 +1617,7 @@ out_complete: } #ifdef

[PATCH v3 xserver] xwayland: Don't block in DRI2 authentication mechanism

2013-02-06 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- v2: - added AuthMagic3, for passing ClientPtr - fixed server internal ABI issue, by maintaining DRI2Authenticate intact - fixed multiple clients accesses to DRI2 authenticate, using Wayland callback mechanism to ensure they all go atomically v3

[PATCH v3 weston] tests: Add XWayland test

2013-02-06 Thread Tiago Vignatti
. Signed-off-by: Tiago Vignatti --- v2: - added autoconf option for enabling/disabling - improved comments throughout the code v3: (nil) configure.ac |6 ++ tests/.gitignore |1 + tests/Makefile.am | 11 +++- tests/weston-tests-env |4 +- tests/xwayland

[PATCH v2 xserver] xwayland: Don't roundtrip in DRI2 authentication mechanism

2013-02-04 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- v2: - added AuthMagic3, for passing ClientPtr - fixed server internal ABI issue, by maintaining DRI2Authenticate intact - fixed multiple clients accesses to DRI2 authenticate, using Wayland callback mechanism to ensure they all go atomically hw

[PATCH v2 intel] xwayland: Use new DRI2 AuthMagic3

2013-02-04 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- src/intel_dri.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/intel_dri.c b/src/intel_dri.c index fa04e18..7c0d25d 100644 --- a/src/intel_dri.c +++ b/src/intel_dri.c @@ -1617,7 +1617,7 @@ out_complete: } #ifdef XORG_WAYLAND

[PATCH v2 weston] tests: Add XWayland test

2013-02-04 Thread Tiago Vignatti
. Signed-off-by: Tiago Vignatti --- v2: - added autoconf option for enabling/disabling - improved comments throughout the code configure.ac |6 ++ tests/.gitignore |1 + tests/Makefile.am | 11 +++- tests/weston-tests-env |4 +- tests/xwayland-test.c

[RFC xserver] xwayland: HACK: Don't roundtrip in DRI2 authentication mechanism

2013-01-22 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- hw/xfree86/dri2/dri2.c | 60 ++-- hw/xfree86/dri2/dri2.h |8 - hw/xfree86/dri2/dri2ext.c | 10 +- hw/xfree86/xwayland/xwayland-drm.c | 22 + 4 files changed, 89

[PATCH weston] tests: Add XWayland test

2013-01-22 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- configure.ac |2 + tests/.gitignore |1 + tests/Makefile.am |7 ++- tests/weston-tests-env |4 +- tests/xwayland-test.c | 134 5 files changed, 145 insertions(+), 3 deletions

Re: Mplayer build guide

2013-01-11 Thread Tiago Vignatti
On 01/11/2013 08:24 AM, ashjas wrote: Hello.. I was trying to test this build.. but i am getting errors upon executing the mplayer. Seems it is asking for opengl3 support.. i tried to look at the configure options in wayland to enable the opengl 3 support.. but didnt find any.. any clues? Y

Re: xwm-client patches, version 2

2012-12-28 Thread Tiago Vignatti
Hi, On 12/19/2012 07:24 PM, Scott Moreau wrote: I decided to give this series a test run. The patches apply with a few whitespace errors. As far as I can tell, xwayland clients work about the same as without these patch sets. The worst thing I noticed was an occasional decoration flicker when g

Re: [PATCH] protocol: Add wl_shell_surface_set_notification

2012-12-27 Thread Tiago Vignatti
Hi. I'm afraid that notification windows and tooltips are quite similar. I've built tooltip on toytoolkit using set_transient surface type, using the inactive method (for not giving focus on it). So instead creating a new surface type for notification windows, I think you can create a dummy su

[PATCH xserver 4/4] xwayland: Track new protocol for xwm client side selection

2012-12-19 Thread Tiago Vignatti
Selection callback was put back on action, but no real functional changes on X side. Signed-off-by: Tiago Vignatti --- hw/xfree86/xwayland/xserver.xml | 42 +++ hw/xfree86/xwayland/xwayland.c |3 +-- 2 files changed, 43 insertions(+), 2 deletions

[PATCH xserver 3/4] xwayland: Attach and configure window only when asked by Wayland

2012-12-19 Thread Tiago Vignatti
Previously, windows were all positioned at (0, 0). Now, with this new protocol, Wayland can forward the global position to X and map them correctly. Signed-off-by: Tiago Vignatti --- hw/xfree86/xwayland/xserver.xml| 31 hw/xfree86/xwayland/xwayland-input.c |8

[PATCH xserver 2/4] xwayland: Track new protocol for xwm split

2012-12-19 Thread Tiago Vignatti
Selection is broken at the moment! Signed-off-by: Tiago Vignatti --- hw/xfree86/xwayland/xserver.xml | 131 - hw/xfree86/xwayland/xwayland-window.c |2 +- hw/xfree86/xwayland/xwayland.c| 23 ++ 3 files changed, 137 insertions(+), 19

[PATCH xserver 1/4] xwayland: Cache globals to avoid multiple registry objects

2012-12-19 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- hw/xfree86/xwayland/xwayland-drm.c | 35 hw/xfree86/xwayland/xwayland-input.c | 42 hw/xfree86/xwayland/xwayland-output.c | 38 -- hw/xfree86/xwayland/xwayland-private.h | 21

[PATCH weston 16/16] xwayland: Proxy selection for copy-paste

2012-12-19 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- clients/Makefile.am |1 + clients/xwm-selection.c | 222 - clients/xwm.c | 44 clients/xwm.h | 25 - protocol/xserver.xml | 18 src/xwayl

[PATCH weston 15/16] xwayland: Move selection to client side

2012-12-19 Thread Tiago Vignatti
The file was changed, moved to client side and a few variable names were changed (like s/weston_wm/xwm_wm). There's no functional changes yet, meaning that XWayland selection code is completely disable still. But this will help to track the changes on the following commit. Signed-off-by:

[PATCH weston 14/16] xwayland: Fix opaque and input region settings

2012-12-19 Thread Tiago Vignatti
This patch brings back a feature we removed previously (#1 opaque region box) and fix the input region settings, which was broken. Signed-off-by: Tiago Vignatti --- clients/xwm.c | 56 ++--- protocol/xserver.xml | 24

[PATCH weston 13/16] xwayland: Fix window positioning

2012-12-19 Thread Tiago Vignatti
put the X Windows in their global position (for instance, now xeyes works like expected and also menu windows are shifted correctly regarding output's dimensions). Signed-off-by: Tiago Vignatti --- clients/xwm.c | 11 --- protocol/xserver.xml

[PATCH weston 12/16] shell: Add transient XWayland shell surfaces

2012-12-19 Thread Tiago Vignatti
Worth to note this type of shell surface is not exposed for clients but just used internally. XWayland compositor counter-part is not implemented yet; next commit will bring it on. weston_shell_interface was also documented on this commit. Signed-off-by: Tiago Vignatti --- src/compositor.h

[PATCH weston 11/16] clients: xwm: Fix frame repaint

2012-12-19 Thread Tiago Vignatti
It brings back a feature we removed previously: #4 drawing scheduling and window activation Signed-off-by: Tiago Vignatti --- clients/xwm.c | 42 +++-- src/xwayland/window-manager.c | 10 +- 2 files changed, 37 insertions(+), 15

[PATCH weston 10/16] clients: xwm: Remove all references for weston

2012-12-19 Thread Tiago Vignatti
No functional changes. Signed-off-by: Tiago Vignatti --- clients/xwm.c | 248 - clients/xwm.h | 13 ++- 2 files changed, 129 insertions(+), 132 deletions(-) diff --git a/clients/xwm.c b/clients/xwm.c index 4345d7d..7993a30 100644 --- a

[PATCH weston 05/16] xwm: Get rid of compositor loop handlers

2012-12-19 Thread Tiago Vignatti
Warning: this removes functionality (#4) In preparation for split xwm as a client, we want to get rid of all interactions of the compositor event loop here. Decorations and configure mechanisms will be overhauled later anyway. Signed-off-by: Tiago Vignatti --- src/xwayland/window-manager.c

[PATCH weston 07/16] xwayland: Move hash implementation to shared

2012-12-19 Thread Tiago Vignatti
In preparation for split xwm as a client, we'll need the hash on both compositor and client side. At this point, X clients are still being mapped okay on the screen and in some way are useful. Signed-off-by: Tiago Vignatti --- shared/Makefile.am|4 +- shared/xwayland-h

[PATCH weston 06/16] xwm: Change weston_log by fprintf

2012-12-19 Thread Tiago Vignatti
In preparation for split xwm as a client. Signed-off-by: Tiago Vignatti --- src/xwayland/window-manager.c | 68 - 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index 806cf8d

[PATCH weston 03/16] xwayland: Drop selection support

2012-12-19 Thread Tiago Vignatti
Warning: this removes functionality (#2) In preparation for split xwm as a client; this will be re-implemented later. Signed-off-by: Tiago Vignatti --- src/xwayland/Makefile.am |1 - src/xwayland/window-manager.c |9 - src/xwayland/window-manager.h |1 - 3 files

[PATCH weston 04/16] xwm: Remove support for transient windows

2012-12-19 Thread Tiago Vignatti
04537.html Signed-off-by: Tiago Vignatti --- src/xwayland/window-manager.c | 58 +++-- src/xwayland/window-manager.h |1 - 2 files changed, 9 insertions(+), 50 deletions(-) diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c

[PATCH weston 02/16] xwm: Disable opaque_rect settings

2012-12-19 Thread Tiago Vignatti
Warning: this removes functionality (#1) In preparation for split xwm as a client, xwm client won't be able to modify or access weston_surface directly like that. This will be re-implemented later using set_opaque_region instead, so we disable for now. Signed-off-by: Tiago Vignatti ---

[PATCH weston 01/16] xwayland: Split header file in WM specific and XWayland internals

2012-12-19 Thread Tiago Vignatti
-manager.h will be the xwm client header. Signed-off-by: Tiago Vignatti --- src/xwayland/Makefile.am |1 + src/xwayland/selection.c |1 + src/xwayland/window-manager.c |1 + src/xwayland/window-manager.h | 121 + src/xwayland

xwm-client patches, version 2

2012-12-19 Thread Tiago Vignatti
Hi. Quite many changes on version 2, the most noticeable being: - set_xwayland -> set_transient_xwayland - the new set_transient_xwayland type is not exposed to clients, therefore no core protocol changes are needed anymore. - added a documentation for weston_shell_interface (compositor.

xwm-client patches, version 2

2012-12-19 Thread Tiago Vignatti
Hi. Quite many changes on version 2, the most noticeable being: - set_xwayland -> set_transient_xwayland - the new set_transient_xwayland type is not exposed to clients, therefore no core protocol changes are needed anymore. - added a documentation for weston_shell_interface (compositor.

Re: [PATCH wayland] protocol: Add set_xwayland request for new shell surface type

2012-12-17 Thread Tiago Vignatti
On 12/17/2012 06:33 AM, Pekka Paalanen wrote: On Fri, 14 Dec 2012 19:33:18 -0200 Tiago Vignatti wrote: On 12/14/2012 06:12 AM, Pekka Paalanen wrote: On Thu, 13 Dec 2012 14:13:04 -0200 Tiago Vignatti wrote: I don't see a problem on having xwayland typical applications linked with &qu

Re: [PATCH wayland] protocol: Add set_xwayland request for new shell surface type

2012-12-14 Thread Tiago Vignatti
On 12/14/2012 06:12 AM, Pekka Paalanen wrote: On Thu, 13 Dec 2012 14:13:04 -0200 Tiago Vignatti wrote: I don't see a problem on having xwayland typical applications linked with "desktop" style of interfaces. X11 and its WM standards are flexible enough for building dif

Re: [PATCH wayland] protocol: Add set_xwayland request for new shell surface type

2012-12-13 Thread Tiago Vignatti
On 12/13/2012 05:38 AM, Pekka Paalanen wrote: On Wed, 12 Dec 2012 13:26:33 -0200 Tiago Vignatti wrote: X11 apps use global coordinates most of the time for window placement and the current approach we have, where transient windows is placed parent relative, is not sufficient. IOW we can&#

[PATCH wayland] protocol: Add set_xwayland request for new shell surface type

2012-12-12 Thread Tiago Vignatti
inactive' to not set focus when the window is configured. Later we will want to add a few more methods for dealing with different types of windows. Signed-off-by: Tiago Vignatti --- protocol/wayland.xml | 20 1 file changed, 20 insertions(+) diff --git a/protocol/way

[PATCH xserver 4/4] xwayland: Track new protocol for xwm split

2012-12-12 Thread Tiago Vignatti
No functional changes on X side. Signed-off-by: Tiago Vignatti --- hw/xfree86/xwayland/xserver.xml | 43 ++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/xwayland/xserver.xml b/hw/xfree86/xwayland/xserver.xml index 3779d1a

[PATCH xserver 3/4] xwayland: Attach and configure window only when asked by Wayland

2012-12-12 Thread Tiago Vignatti
Previously, windows were all positioned at (0, 0). Now, with this new protocol, Wayland can forward the global position to map them correctly. Signed-off-by: Tiago Vignatti --- hw/xfree86/xwayland/xserver.xml| 33 + hw/xfree86/xwayland/xwayland-input.c |8

[PATCH xserver 2/4] xwayland: Track new protocol for xwm split

2012-12-12 Thread Tiago Vignatti
Warning: selection is broken! Signed-off-by: Tiago Vignatti --- hw/xfree86/xwayland/xserver.xml | 104 - hw/xfree86/xwayland/xwayland-window.c |2 +- hw/xfree86/xwayland/xwayland.c| 23 +++- 3 files changed, 110 insertions(+), 19

[PATCH xserver 1/4] xwayland: Cache globals to avoid multiple registry objects

2012-12-12 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- hw/xfree86/xwayland/xwayland-drm.c | 35 hw/xfree86/xwayland/xwayland-input.c | 42 hw/xfree86/xwayland/xwayland-output.c | 38 -- hw/xfree86/xwayland/xwayland-private.h | 21

[PATCH weston 16/16] xwayland: Proxy selection for copy-paste

2012-12-12 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- clients/Makefile.am |1 + clients/xwm-selection.c | 222 - clients/xwm.c | 35 --- clients/xwm.h | 30 -- protocol/xserver.xml | 18 +++- src/xwayl

[PATCH weston 15/16] xwayland: Move selection to client side

2012-12-12 Thread Tiago Vignatti
The file was changed, moved to client side and a few variable names were changed (like s/weston_wm/xwm_wm). There's no functional changes yet, meaning that XWayland selection code is completely disable still. But this will help to track the changes on the following commit. Signed-off-by:

[PATCH weston 14/16] xwayland: Fix opaque and input region settings

2012-12-12 Thread Tiago Vignatti
This patch brings back a feature we removed previously (#1 opaque region box) Signed-off-by: Tiago Vignatti --- clients/xwm.c | 57 ++ protocol/xserver.xml | 26 ++ src/xwayland/window-manager.c | 61

[PATCH weston 03/16] xwayland: Drop selection support

2012-12-12 Thread Tiago Vignatti
Warning: this removes functionality (#2) In preparation for split xwm as a client; this will be re-implemented later. Signed-off-by: Tiago Vignatti --- src/xwayland/Makefile.am |1 - src/xwayland/window-manager.c |9 - src/xwayland/window-manager.h |1 - 3 files

[PATCH weston 13/16] xwayland: Fix window positioning

2012-12-12 Thread Tiago Vignatti
(#3 window positioning) and also put the X Windows in their global position (for instance, now xeyes works like expected and also menu windows are shifted correctly regarding output's dimensions). Signed-off-by: Tiago Vignatti --- clients/xwm.c | 10 +++--- proto

[PATCH weston 12/16] shell: Implement XWayland shell surfaces

2012-12-12 Thread Tiago Vignatti
XWayland compositor counter-part is not implemented yet; next commit will bring it on. Signed-off-by: Tiago Vignatti --- src/compositor.h |3 +-- src/shell.c | 39 +-- 2 files changed, 38 insertions(+), 4 deletions(-) diff --git a/src/compositor.h

[PATCH weston 11/16] clients: xwm: Fix frame repaint

2012-12-12 Thread Tiago Vignatti
It brings back a feature we removed previously: #4 drawing scheduling and window activation Signed-off-by: Tiago Vignatti --- clients/xwm.c | 40 +++- src/xwayland/window-manager.c | 12 +--- 2 files changed, 36 insertions

[PATCH weston 10/16] clients: xwm: Remove all references for weston

2012-12-12 Thread Tiago Vignatti
No functional changes. Signed-off-by: Tiago Vignatti --- clients/xwm.c | 251 - clients/xwm.h | 12 +-- 2 files changed, 131 insertions(+), 132 deletions(-) diff --git a/clients/xwm.c b/clients/xwm.c index 7d681f1..0e59f7c 100644 --- a

[PATCH weston 09/16] Introduce new XWayland protocol and implementation

2012-12-12 Thread Tiago Vignatti
ous implementation though: #1 opaque region box (4496fd6a) #2 selection support (8e25a7eb) #3 window positioning (2aee1248) #4 drawing scheduling and window activation (21c685d9) Signed-off-by: Tiago Vignatti --- clients/Makefile.am | 16 +- clients/xwm.c |

[PATCH weston 07/16] xwayland: Move hash implementation to shared

2012-12-12 Thread Tiago Vignatti
In preparation for split xwm as a client, we'll need the hash on both compositor and client side. At this point, X clients are still being mapped okay on the screen and in some way are useful. Signed-off-by: Tiago Vignatti --- shared/Makefile.am|4 +- shared/xwayland-h

[PATCH weston 06/16] xwm: Change weston_log by fprintf

2012-12-12 Thread Tiago Vignatti
In preparation for split xwm as a client. Signed-off-by: Tiago Vignatti --- src/xwayland/window-manager.c | 68 - 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index 806cf8d

[PATCH weston 05/16] xwm: Get rid of compositor loop handlers

2012-12-12 Thread Tiago Vignatti
Warning: this removes functionality (#4) In preparation for split xwm as a client, we want to get rid of all interactions of the compositor event loop here. Decorations and configure mechanisms will be overhauled later anyway. Signed-off-by: Tiago Vignatti --- src/xwayland/window-manager.c

[PATCH weston 04/16] xwm: Remove support for transient windows

2012-12-12 Thread Tiago Vignatti
04537.html Signed-off-by: Tiago Vignatti --- src/xwayland/window-manager.c | 58 +++-- src/xwayland/window-manager.h |1 - 2 files changed, 9 insertions(+), 50 deletions(-) diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c

[PATCH weston 02/16] xwm: Disable opaque_rect settings

2012-12-12 Thread Tiago Vignatti
Warning: this removes functionality (#1) In preparation for split xwm as a client, xwm client won't be able to modify or access weston_surface directly like that. This will be re-implemented later using set_opaque_region instead, so we disable for now. Signed-off-by: Tiago Vignatti ---

[PATCH weston 01/16] xwayland: Split header file in WM specific and XWayland internals

2012-12-12 Thread Tiago Vignatti
-manager.h will be the xwm client header. Signed-off-by: Tiago Vignatti --- src/xwayland/Makefile.am |1 + src/xwayland/selection.c |1 + src/xwayland/window-manager.c |1 + src/xwayland/window-manager.h | 121 + src/xwayland

xwm-client patches, continuation

2012-12-12 Thread Tiago Vignatti
Hi all! Here's the remaining work: http://cgit.freedesktop.org/~vignatti/wayland/log/?h=xwm-client http://cgit.freedesktop.org/~vignatti/weston/log/?h=xwm-client http://cgit.freedesktop.org/~vignatti/xserver/log/?h=xwm-client In general I'm feeling quite comfortable with it and we now have in pla

Re: Sub-surface protocol

2012-12-05 Thread Tiago Vignatti
Hi, On 12/05/2012 12:32 PM, Pekka Paalanen wrote: I have not even thought about sub-surfaces' implications to input handling or the shell yet. Sub-surfaces probably need to be able to receive input. The shell perhaps needs a bounding box of the set of surfaces to be able to pick an initial posi

Re: [PATCH weston 17/17] xwayland: Fix window positioning

2012-12-03 Thread Tiago Vignatti
On 11/30/2012 10:01 PM, Bill Spitzak wrote: Tiago Vignatti wrote: The approach used here shows a weakness of the Weston WM-as-client architecture: one cannot guarantee that the X11 stream needed to create windows with its right position will happen before Weston maps the surface, via Wayland

Re: [PATCH wayland 4/5] man: Add man pages for event dispatch client functions

2012-12-03 Thread Tiago Vignatti
On 12/03/2012 11:23 AM, Jonas Ådahl wrote: On Mon, Dec 3, 2012 at 2:06 PM, Tiago Vignatti wrote: We have every entry-point documented on the code now, using doxygen style, with all classes referenced and so on. So, something we discussed before was to automate most of the man-page contents

Re: [PATCH wayland 4/5] man: Add man pages for event dispatch client functions

2012-12-03 Thread Tiago Vignatti
We have every entry-point documented on the code now, using doxygen style, with all classes referenced and so on. So, something we discussed before was to automate most of the man-page contents based on the doxygen output. I mean, this patch is nice, but have you thought about automating the ma

[PATCH weston 17/17] xwayland: Fix window positioning

2012-11-30 Thread Tiago Vignatti
(#3 window positioning, 2aee1248) and also put the X Windows in their global position (for instance, now xeyes works like expected and also menu windows are shifted correctly regarding output's dimensions). Signed-off-by: Tiago Vignatti --- clients/xwm.c | 10 +++--- proto

[PATCH xserver 3/3] xwayland: Attach and configure window only when asked by Wayland

2012-11-30 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- hw/xfree86/xwayland/xserver.xml| 33 + hw/xfree86/xwayland/xwayland-private.h |3 ++ hw/xfree86/xwayland/xwayland-window.c |7 +--- hw/xfree86/xwayland/xwayland.c | 62 +++- 4 files changed

[PATCH weston 16/17] shell: Implement XWayland shell surfaces

2012-11-30 Thread Tiago Vignatti
XWayland compositor counter-part is not implemented yet; next commit will bring it on. Signed-off-by: Tiago Vignatti --- src/compositor.h |3 +-- src/shell.c | 39 +-- 2 files changed, 38 insertions(+), 4 deletions(-) diff --git a/src/compositor.h

[PATCH wayland] protocol: Add set_xwayland request for new shell surface type

2012-11-30 Thread Tiago Vignatti
inactive' to not set focus when the window is configured. Later we will want to add a few more methods for dealing with different types of windows. Signed-off-by: Tiago Vignatti --- protocol/wayland.xml | 20 1 file changed, 20 insertions(+) diff --git a/protocol/way

[PATCH weston 15/17] clients: xwm: Fix frame repaint

2012-11-30 Thread Tiago Vignatti
It brings back a feature we removed previously: #4 drawing scheduling and window activation (21c685d9) Signed-off-by: Tiago Vignatti --- clients/xwm.c | 40 +++- src/xwayland/window-manager.c | 12 +--- 2 files changed, 36

[PATCH weston 14/17] clients: xwm: Remove all references for weston

2012-11-30 Thread Tiago Vignatti
No functional changes. Signed-off-by: Tiago Vignatti --- clients/xwm.c | 251 - clients/xwm.h | 12 +-- 2 files changed, 131 insertions(+), 132 deletions(-) diff --git a/clients/xwm.c b/clients/xwm.c index 0d0a413..41d446b 100644 --- a

[PATCH xserver 2/3] xwayland: Track new protocol for xwm split

2012-11-30 Thread Tiago Vignatti
Warning: selection is broken! Signed-off-by: Tiago Vignatti --- hw/xfree86/xwayland/xserver.xml | 104 - hw/xfree86/xwayland/xwayland-window.c |2 +- hw/xfree86/xwayland/xwayland.c| 23 +++- 3 files changed, 110 insertions(+), 19

[PATCH xserver 1/3] xwayland: Cache globals to avoid multiple registry objects

2012-11-30 Thread Tiago Vignatti
Signed-off-by: Tiago Vignatti --- hw/xfree86/xwayland/xwayland-drm.c | 35 hw/xfree86/xwayland/xwayland-input.c | 42 hw/xfree86/xwayland/xwayland-output.c | 38 -- hw/xfree86/xwayland/xwayland-private.h | 21

[PATCH weston 13/17] Introduce new XWayland protocol and implementation

2012-11-30 Thread Tiago Vignatti
ous implementation though: #1 opaque region box (4496fd6a) #2 selection support (8e25a7eb) #3 window positioning (2aee1248) #4 drawing scheduling and window activation (21c685d9) Signed-off-by: Tiago Vignatti --- clients/Makefile.am | 16 +- clients/xwm.c |

[PATCH weston 11/17] xwayland: Move hash implementation to shared

2012-11-30 Thread Tiago Vignatti
In preparation for split xwm as a client, we'll need the hash on both compositor and client side. At this point, X clients are still being mapped okay on the screen and in some way are useful. Signed-off-by: Tiago Vignatti --- shared/Makefile.am|4 +- shared/xwayland-h

[PATCH weston 10/17] xwm: Change weston_log by fprintf

2012-11-30 Thread Tiago Vignatti
In preparation for split xwm as a client. Signed-off-by: Tiago Vignatti --- src/xwayland/window-manager.c | 68 - 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index 806cf8d

[PATCH weston 09/17] xwm: Get rid of compositor loop handlers

2012-11-30 Thread Tiago Vignatti
Warning: this removes functionality (#4) In preparation for split xwm as a client, we want to get rid of all interactions of the compositor event loop here. Decorations and configure mechanisms will be overhauled later anyway. Signed-off-by: Tiago Vignatti --- src/xwayland/window-manager.c

  1   2   3   4   5   6   >