[Gambas-user] desktop.x11.MoveWindow to another workspace segfault
bsteers4 at gmail.com
Fri Oct 21 23:32:41 CEST 2022
so i found a way to move windows to other workspaces using gb.desktop.x11
the following code...
*Public Sub btn2_Click() Form2.Show Dim iActiv As Integer =
X11.ActiveWindow X11.MoveWindow(Form2.Id, Screen.W + 100, form2.Top)End*
that successfully moves a window to the workspace on the right.
Reason i'm posting is because if i do not use X11.ActiveWindow first then i
get a segfault 11
If i use X11.ActiveWindow in any way like above just putting it's value in
an unused variable then no segfault.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User