Re: Rough proposal for a cursor-geometry protocol

2024-12-20 Thread Campbell Barton
On 24-12-20 8:53 PM, Simon Ser wrote: On Friday, December 20th, 2024 at 10:46, Campbell Barton wrote: Instead, we've standardized a protocol to set semantic cursor shapes: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tree/main/staging/cursor-shape?ref_type=heads Does that

Re: Rough proposal for a cursor-geometry protocol

2024-12-20 Thread Campbell Barton
On 24-12-20 7:48 PM, Simon Ser wrote: Hi! This has been discussed before, with an XCursor configuration protocol proposal: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/21 However that approach turned out to be quite complex, and a bit backwards (back-and-forth an

Rough proposal for a cursor-geometry protocol

2024-12-19 Thread Campbell Barton
Hi, I've been maintaining Blender's Wayland integration and have run into issues with cursor size being too big/small. At first I thought it could be overlooked (treated as more of a glitch), however in the worst case this is an accessibility issue, one user for example found the cursor was so s

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 suppo

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 cu

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 dedicat

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 tha

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 p

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 wrote: > On Tue, 10 Sep 2013 16:49:27 +1000 > Campbell Barton wrote: > >> On Tue, Sep 10, 2013 at 4:45 PM, Pekka Paalanen >> wrote: >> > On Tue, 10 Sep 2013 16:13:32 +1000 >> > Campbell Barton wrote: >

Re: How to check if OpenGL is supported?

2013-09-09 Thread Campbell Barton
On Tue, Sep 10, 2013 at 4:45 PM, Pekka Paalanen wrote: > On Tue, 10 Sep 2013 16:13:32 +1000 > Campbell Barton wrote: > >> On Tue, Sep 10, 2013 at 3:49 PM, Pekka Paalanen >> wrote: >> > On Tue, 10 Sep 2013 14:06:55 +1000 >> > Campbell Barton wrote: >&

Re: How to check if OpenGL is supported?

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

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 applic

Blender3D & cursor clamping.

2010-12-05 Thread Campbell Barton
Hi there, I'm interested in porting blender3d to Wayland. Currently we use an internal library which is a bit like SDL, talking to X11, Win32 and Cocoa directly. Since we use OpenGL directly for all drawing I don't expect the port to be all that big a deal. I'm interested in how Wayland deals wit