[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gambas and Wayland (II)


On Sat, 9 Aug 2025, 23:11 Lee, <t.lee.davidson@xxxxxxxxx> wrote:

> On 8/9/25 5:16 PM, Benoît Minisini wrote:
> > Le 09/08/2025 à 17:20, Lee a écrit :
> [snip]
> >>
> >> In the "Moving a top-level window" section, the Tip (Since 3.21) says,
> "It's still possible to ask the window manager to start
> >> moving a window with the mouse by calling the Window.StartMove()
> method."
> >>
> >> Did you mean, "It's now possible ..."?
> >
> > Yes. But I wanted to say that at least it is possible with Wayland to
> ask the window manager to start moving a window. They
> > implemented that because they wanted the windows to be decorated by the
> client, and managed on its own decision.
>
> Okay. I have edited the tip. I hope it conveys what you wanted to say.
>

I edited it a bit more to add it must be used in a mouse event.

I also linked to a newly created a wiki page for Window.StartMove with a
usage example.


> Only the client application can decide exactly when its window should be
> moved, but it cannot know where it is. Go figure the
> > logic...
>
> That's Wayland Wisdom!


Lol, Wayland and wisdom 🤣
That's funny

Respects
BruceS

References:
Gambas and Wayland (II)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Gambas and Wayland (II)Lee <t.lee.davidson@xxxxxxxxx>
Re: Gambas and Wayland (II)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Gambas and Wayland (II)Lee <t.lee.davidson@xxxxxxxxx>