Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should we add borderless window mode? #204

Closed
andydotxyz opened this issue Apr 3, 2019 · 5 comments
Closed

Should we add borderless window mode? #204

andydotxyz opened this issue Apr 3, 2019 · 5 comments

Comments

@andydotxyz
Copy link
Member

This is desktop specific so should we add it?
Not certain about this one so opening a ticket to track interest...

Note that fullscreen windows are borderless by definition so this is only for "windowed" windows without the decorations...

@okratitan
Copy link
Member

Borderless non-fullscreen windows are a rare need and I think best left up to A. The window manager and B. The end user who can tell his window manager to draw it borderless.

@andydotxyz
Copy link
Member Author

Great, I will close this. It may need to be implemented in the backend depending on how we handle popover widgets (menus etc)

@sanguohot
Copy link

It is very useful to hide titlebar and menubar.

@andydotxyz
Copy link
Member Author

If you can describe the use-case here we can look at it again, bearing in mind that it seems like a desktop extension and not something for a core API. @sanguohot

@sanguohot
Copy link

Well, I have just figured it out, just one line before creating a window.
glfw.WindowHint(glfw.Decorated, 0)

Now I initialize two windows using the same canvas object, one of them is borderless, but only one could be shown everytime.
It works well.

reader_withborder
reader_borderless

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants