[Gambas-user] window resize help

Benoit Minisini benoit.minisini at gambas-basic.org
Tue Dec 20 19:06:49 CET 2022

Le 20/12/2022 à 18:00, Bruce Steers a écrit :
> Could you check this out Ben as it might be a gambas bug.
> the basic code for the left edge movement is thus...
> Dim hRect As New Rect(Me.ScreenX, Me.ScreenY, Me.W, Me.H)
> hRect.Left = Mouse.ScreenX
> Me.Move(hRect.X, hRect.Y, hRect.W, hRect.H)
> Now apparently that should not move the right window edge but it does 
> somewhat randomly jiggle it about.
> Is it a bug or is there something i need to account for?
> Many thanks
> BruceS

Before looking at anything, I can tell you that resizing a window behind 
the window manager cannot work reliably on X11, and is forbidden on Wayland.

On X11, there is a protocol for that, and Wayland has its protocol too.


Benoît Minisini.

More information about the User mailing list