[Gambas-user] x11.DesktopWindow.Desktop and MATE
bsteers4 at gmail.com
Sun Oct 23 15:35:58 CEST 2022
trying to help a user with workspace switching and i discovered something.
i found setting X11.DesktopWindow.Desktop did not work to move to another
workspace but using DesktopWindow.Move() did on MATE desktop.
then i found using DesktopWindow.Move was not working on gnome or cinnamon
but using DesktopWindow.Desktop did !
so i've had to use this..
Dim xw As DesktopWindow = New DesktopWindow(Me.Handle)
If Desktop.Type = "MATE" Then xw.Move(Screen.Width + Me.X, Me.Top)
Else xw.Desktop += 1
If Desktop.Type = "MATE" Then xw.Move(0 - Screen.Width + Me.X, Me.Top)
Else xw.Desktop = Max(xw.Desktop - 1, 0)
Is it a bug to report or can it be expected to behave different on the
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User