Search
12:44:47
sts-q
To move a window programmatically i say (mezzano.gui.compositor:move-window (window viewer) new-xpos new-ypos)
12:45:20
sts-q
Is there a way to resize a window like that way?
12:47:30
froggey
(compositor:resize-window window (mezzano.gui:make-surface new-width new-height))
12:48:14
froggey
and the compositor will send a resize-event when it has completed the resize
12:56:10
sts-q
Yes it works! But the title-bar of the window is not visible but still accessible.
12:58:06
froggey
oh right, you have to tell the frame about your new surface
12:58:32
froggey
(mezzano.gui.widgets:resize-frame window-frame the-surface-returned-by-make-surface)
12:59:17
froggey
you should do that before the call to resize-window so the frame is immediately visible once the compositor switches surfaces
13:00:34
ebrasca
froggey: Have you merged my changes from slime into your branch? ( They are upstream )
13:05:31
ebrasca
Are your slime now in master?
13:07:30
froggey
my repo is up to date, yes
13:17:26
sts-q
Yes it works! Thank you! :)