Recent

Author Topic: Mouse.CursorPos is not updated on Wayland session  (Read 1554 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2406
    • UVviewsoft
Mouse.CursorPos is not updated on Wayland session
« on: May 07, 2023, 01:02:59 pm »
Demo attached.
Run the demo and (!!) put the demo window on CLEAR desktop area (no other windows must lay below).
I use Ubuntu 20.04 with Wayland session.

Now move mouse out of demo window to the CLEAR desktop area and move it there --> demo cannot update its "X:" and "Y:" labels.

GTK2 / Qt5 both affected.
« Last Edit: May 07, 2023, 05:50:14 pm by AlexTP »

Handoko

  • Hero Member
  • *****
  • Posts: 5158
  • My goal: build my own game engine using Lazarus
Re: Mouse.CursorPos is not updated on Wayland session
« Reply #1 on: May 07, 2023, 02:11:27 pm »
I compiled the demo using Lazarus 2.3.0 GTK2 64-bit run it on Ubuntu Mate 19.10. It's working good on both Marco and Compiz window managers.

AlexTP

  • Hero Member
  • *****
  • Posts: 2406
    • UVviewsoft
Re: Mouse.CursorPos is not updated on Wayland session
« Reply #2 on: May 07, 2023, 05:52:02 pm »
1) I corrected my post: Ubuntu 22.x -> 20.x.
2) User of my text editor confirms it:
>>I use openSUSE Tumbleweed (bleeding edge rolling release) with Wayland.

 

TinyPortal © 2005-2018