wl_subsurface vs xdg_popup?

2024-03-19 Thread Shawn W
I've been looking at the protocol docs on http://wayland.app and something that's stood out to me is wl_subsurface and xdg_popup. If I want a pop up menu, which one should I go for? I would guess xdg_popup, but it seems like some compositors may not support repositioning if they don't support ve

C++ binding prototype for wayland

2017-04-07 Thread Shawn Peng
Hi guys, I got a prototype C++ binding for the wayland. It is based on the waylandpp project, but I modified lots and added the server side implementation. Is there anyone has needs for this? This is the github link, https://github.com/shawn-peng/waylandpp Thanks, Yisu(Shawn

Re: [Interest] qt5 window setGeometry and move not work in wayland platform

2014-09-30 Thread Rutledge Shawn
On 11 Aug 2014, at 12:57 PM, Giulio Camuffo wrote: > 2014-08-11 13:29 GMT+03:00 Rutledge Shawn : >> >> On 11 Aug 2014, at 11:34 AM, Giulio Camuffo wrote: >> >>> 2014-08-11 12:20 GMT+03:00 Rutledge Shawn : >>>> >>>> On 11 Aug 2014,

Re: [Interest] qt5 window setGeometry and move not work in wayland platform

2014-09-30 Thread Rutledge Shawn
On 11 Aug 2014, at 11:34 AM, Giulio Camuffo wrote: > 2014-08-11 12:20 GMT+03:00 Rutledge Shawn : >> >> On 11 Aug 2014, at 9:10 AM, Pier Luigi wrote: >> (top-posting fixed) >>> 2014-08-11 8:13 GMT+02:00 Steve (YiLiang) Zhou : >>>> Dear all, >>>

Re: [Interest] qt5 window setGeometry and move not work in wayland platform

2014-09-30 Thread Rutledge Shawn
On 11 Aug 2014, at 9:10 AM, Pier Luigi wrote: (top-posting fixed) > 2014-08-11 8:13 GMT+02:00 Steve (YiLiang) Zhou : >> Dear all, >> >> My app has a mainwindow and a QDialog which is a child of mainwindow. And I >> want to set the app to the position 0,0. >> >> I use both setGeometry and move to

Re: Weston multitouch support?

2014-06-09 Thread Shawn Rutledge
On 3 June 2014 01:25, Peter Hutterer wrote: > On Mon, Jun 02, 2014 at 12:45:51PM +0100, José Expósito wrote: >> Hi Peter, >> >> I have checked the libinput implementation and, correct me if I'm wrong, I >> have seen that 2 fingers click is interpreted as right click, 3 fingers >> click is interpr

Re: Weston multitouch support?

2014-06-09 Thread Shawn Rutledge
On 3 June 2014 13:16, Peter Hutterer wrote: > On 3/06/2014 20:25 , Shawn Rutledge wrote: ... > the synaptics driver does support multitouch and gives you the same type of > events as any MT device will (if you disable the in-driver gestures). It has > done so for about 2 years now,

Re: Various clients crashing when hovered

2012-05-06 Thread shawn
On Sun, 2012-05-06 at 23:01 -0400, nerdopolis wrote: > I noticed that both GTK apps (with gtk from the csd branch, and most likely > the main branch) also the default Weston clients are recently crashing due to > a new patch > > > Shawn Laddens's patch fixes the crash

[PATCH] wayland: fix crash when /usr/share/wayland/left_ptr.png is not available

2012-05-05 Thread Shawn Landden
Signed-off-by: Shawn Landden --- gdk/wayland/gdkdevice-wayland.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c index 125563a..8de2ccf 100644 --- a/gdk/wayland/gdkdevice-wayland.c +++ b/gdk/wayland/gdkdevice-wayland.c

[PATCH] wayland: fix crash when /usr/share/wayland/left_ptr.png is not available

2012-05-03 Thread Shawn Landden
Signed-off-by: Shawn Landden --- gdk/wayland/gdkdevice-wayland.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c index 125563a..8de2ccf 100644 --- a/gdk/wayland/gdkdevice-wayland.c +++ b/gdk/wayland/gdkdevice-wayland.c