VoylinsGamedevJourney / gozen

The modular video editor
https://youtube.com/@voylinsgamedevjourney
GNU General Public License v3.0
145 stars 22 forks source link

Titlebar window dragging not working #30

Closed voylin closed 1 year ago

voylin commented 1 year ago

Version or branch

0.0.1-Alpha

Operating system

Linux

Bug behaviour

Can not drag the window around because it was made borderless.

Expected behaviour

Being and to drag it

Steps to reproduce

.

Other informations

No response

voylin commented 1 year ago

Commit 9c5ba4b fixes this issue and also enables resizing of the window again as this was another problem. Mainly got fixed by using extent to title instead of borderless. Was not a big problem except that I still had to implement the moving of the window when dragging the title bar.

Still one issue is that when you start dragging it in maximized mode, nothing happens. But as I use a tiling window manager this is not a problem. This could possibly be fixed by changing the window mode when dragging the window ... but yeah, again I don't use Windows or a stacking window manager so I can not test this solution.

voylin commented 1 year ago

extent_to_title is Mac OS only ... well, let's fix this again I guess

voylin commented 1 year ago

current method also has some dragging delay issues. Mouse is not in original position on the titlebar after dragging

voylin commented 1 year ago

Problem is fixed by commit: 6618d78