Closed elinorbgr closed 6 years ago
At first glance it fixes resizing issue described in the #23, but window resizing became much less responsive. Also closing window using border button crashes Gnome shell... Although it probably should be reported as a Gnome bug. Closing from overview mode works fine.
I am aware of the responsiveness issue, the border are currently drawn very inefficiently. I'll try to improve that.
Now, the crash of gnome-shell itself is... unexpected? Though it's likely a gnome-shell bug indeed.
Okay, now the drawing speed of the borders should be much better.
The example is still kinda slow, but this is because drawing this huge color gradient in CPU is slow. Commenting out the window.resize(...)
line makes a snappy window with no content.
This switches the control over the base surface, the contents now being a subsurface over our parent surface.
This also re-organises the internal structure, splitting things into better organized modules.
Also adds buttons for minimize/maximize/close.