this post was submitted on 10 Sep 2024
11 points (86.7% liked)

Programming

17364 readers
167 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

It was quite difficult to look up for Windows, and X11 has its own more complicated way of doing things. On X11, I've managed to enter fullscreen, but exiting is even more difficult and less documented.

I know Wayland exists, but as long as XWayland provides a good enough support, I'll use that instead for now, due to lack of time on my own side.

EDIT: To clarify: I meant how do I do it via API calls, in programming, not by what key is the default (which is F11).

you are viewing a single comment's thread
view the rest of the comments
[–] wildbus8979@sh.itjust.works 11 points 2 months ago* (last edited 2 months ago) (1 children)

F11 is the default in most cases to enter and exit full screen. Same as Windows I think (I wouldn't know for sure, never really used it).

[–] ZILtoid1991@lemmy.world -5 points 2 months ago* (last edited 1 month ago) (1 children)

Thanks, but that's not what I've wanted the help for.

EDIT: Why all the downvotes?

[–] wildbus8979@sh.itjust.works 10 points 2 months ago

You'll have to be more specific then, cause that is the most common way to change a window to full screen and back on Linux. Wayland or X11.