How to support wl_touch input? (when developing clients)

2024-05-07 Thread Campbell Barton
Hi, what are some ways to test "wl_touch" events? - Is it possible to make track-pads use the wl_touch interface? - Is there a way to emulate touch input using a mouse? - If specific hardware is needed, any suggestions? For context, recently a user reported a bug where touch events aren't

Re: Issues with cursors (cursor-shape-v1)

2023-12-06 Thread Campbell Barton
On Wed, Dec 6, 2023 at 10:18 AM Simon Ser wrote: > > For wlroots-based compositors this is passed down via XCURSOR_THEME and > XCURSOR_SIZE just like on X11 although env vars aren't a good fit for > configuration. Yes, I'm using these already, in practice though - even with these variables set -

Issues with cursors (cursor-shape-v1)

2023-12-05 Thread Campbell Barton
Hi, I've been looking to support mouse cursors under wayland (via cursor-shape-v1 but also more generally). Attempting to use cursor-shape-v1, I ran into some mouse cursors not being available, so I had to fallback to loading the "default" theme, this might be OK however the cursor size used by

Window monitor-selection under Wayland

2022-08-07 Thread Campbell Barton
Recently the discussion on window-positions reminded me of an issue that Blender is likely to run into when switching to Wayland (currently work-in-progress). While as far as I can tell window-positions aren't necessary - Blender users frequently run with multiple-monitors and have windows

Re: Dynamically loading libwayland complications

2022-06-28 Thread Campbell Barton
On Wed, Jun 29, 2022 at 12:38 PM Thiago Macieira wrote: > > On Tuesday, 28 June 2022 19:00:26 PDT Campbell Barton wrote: > > Hi, recently I was looking into dynamically loading libwayland to be > > able to support both X11 and Wayland, without requiring libwayland. &

Dynamically loading libwayland complications

2022-06-28 Thread Campbell Barton
Hi, recently I was looking into dynamically loading libwayland to be able to support both X11 and Wayland, without requiring libwayland. For our project is currently a requirement for adopting Wayland. While I did manage to get this working, use of variadic arguments adds quite some complexity

Re: Accessing the time, compatible with motion time-stamps

2022-06-28 Thread Campbell Barton
On Thu, Jun 23, 2022 at 4:07 PM Simon Ser wrote: > > Hi, > > On Wednesday, June 22nd, 2022 at 06:03, Campbell Barton > wrote: > > > - zwp_tablet_tool_v2_listener.motion > > callback doesn't take time-stamps. > > > > Is there a

Accessing the time, compatible with motion time-stamps

2022-06-21 Thread Campbell Barton
Hi, I was looking to use wayland's time-stamps for events, however these time-stamps are only available in some cases. - pointer_listener.motion has time-stamps. - zwp_tablet_tool_v2_listener.motion callback doesn't take time-stamps. Is there a way to access the time that is compatible with

Re: How to check if OpenGL is supported?

2013-09-10 Thread Campbell Barton
On Tue, Sep 10, 2013 at 3:49 PM, Pekka Paalanen ppaala...@gmail.com wrote: On Tue, 10 Sep 2013 14:06:55 +1000 Campbell Barton ideasma...@gmail.com wrote: Hi, I'm interested to get Blender (OpenGL 3d graphics application) running with wayland/weston. However I cant tell if my configuration

Re: How to check if OpenGL is supported?

2013-09-10 Thread Campbell Barton
On Tue, Sep 10, 2013 at 4:58 PM, Pekka Paalanen ppaala...@gmail.com wrote: On Tue, 10 Sep 2013 16:49:27 +1000 Campbell Barton ideasma...@gmail.com wrote: On Tue, Sep 10, 2013 at 4:45 PM, Pekka Paalanen ppaala...@gmail.com wrote: On Tue, 10 Sep 2013 16:13:32 +1000 Campbell Barton ideasma

How to check if OpenGL is supported?

2013-09-09 Thread Campbell Barton
Hi, I'm interested to get Blender (OpenGL 3d graphics application) running with wayland/weston. However I cant tell if my configuration can even run simple OpenGL applications (the more recent weston for arch-linux 1.2.2 has no weston-gears). Whats a good way to see if loading opengl/egl