Re: [writing a compositor] Window does not return to previous position on unmaximize

2018-10-10 Thread adlo
As far as I can tell my code looks the same as Weston's code. What might I be doing differently that results in the windows not returning to their original position? Regards adlo > On 25 Sep 2018, at 04:41, adlo wrote: > > Here is some more code that I forgot to include: > > static void >

Re: Possible Wayland Extension to publish Mouse Pointer Size

2018-10-10 Thread Michael Arnold
> > > How do we handle HiDPI? > > > > Create an array of wl_buffers, one for each screen, where each wl_buffer holds > > the mouse pointer in the associated screen's resolution. > > Right, so we need to add a "scale" parameter in the protocol somewhere. I lost you on this one. I was thinking that

Re: Possible Wayland Extension to publish Mouse Pointer Size

2018-10-10 Thread Simon Ser
On Wednesday, October 10, 2018 4:48 PM, Michael Arnold wrote: > With regards to using XCURSOR_SIZE, I worry that this approach is going to > enjoy varying levels of support across desktops and applications over time, > for example > 1. Fedora 28, that has Gnome on Wayland as the default desktop,

Re: Possible Wayland Extension to publish Mouse Pointer Size

2018-10-10 Thread Michael Arnold
With regards to using XCURSOR_SIZE, I worry that this approach is going to enjoy varying levels of support across desktops and applications over time, for example 1. Fedora 28, that has Gnome on Wayland as the default desktop, but does not set XCURSOR_SIZE. 2. Tools like gsettings need to be chan

Re: [PATCH wayland-protocols v2] unstable: add primary-selection protocol

2018-10-10 Thread Carlos Garnacho
Hey, Sorry, missed the ping... Just found a nit: On Sun, Sep 23, 2018 at 12:58 PM Simon Ser wrote: > From: emersion > > This primary selection is similar in spirit to the eponimous > in X11, allowing a quick "select text + middle click" shortcut > to copying and pasting. > > It's otherwise ver

Re: [PATCH wayland-protocols v2] unstable: add primary-selection protocol

2018-10-10 Thread Simon Ser
Thanks for your review, Jonas. Carlos, what do you think of this proposal? Thanks, Simon. On Thursday, October 4, 2018 12:06 PM, Jonas Ã…dahl wrote: > On Sun, Sep 23, 2018 at 10:52:34AM +, Simon Ser wrote: > > > From: emersion cont...@emersion.fr > > This primary selection is similar in spi

Re: Possible Wayland Extension to publish Mouse Pointer Size

2018-10-10 Thread Simon Ser
Hi, On Tuesday, October 9, 2018 3:34 PM, Michael Arnold wrote: > Hi, > > I'm new here and out my depth - normally I tinker together applications, on > linux, sometimes using Qt. Using Qt under Gnome/Wayland I noticed that the > mouse pointer increased in size when moved over a Qt based applicati