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

Draw only into safe area #6444

Open
kchibisov opened this issue Oct 24, 2022 · 4 comments
Open

Draw only into safe area #6444

kchibisov opened this issue Oct 24, 2022 · 4 comments

Comments

@kchibisov
Copy link
Member

Some devices like macbooks have notches and expose that information in the system, we shouldn't try to draw into that area, since part of it will be obscured to the user.

The upstream issue about that rust-windowing/winit#2308.

@nixpulvis
Copy link
Contributor

This issue probably addresses #5612.

@dbalatero
Copy link

I understand from the prior thread on this about not specifically targeting Macbook hardware flaws (I don't think I'd want to do that either), but +1 that if there is a more abstracted "safe area" concept that Alacritty could draw into, that would be really nice - and flexibly support other devices as well, without having to couple Alacritty to Apple.

@ArtemSmaznov
Copy link

Just want to voice my opinion.
I use buttonless on macos to hide the title bar but find it extremely annoying when I want to select text on the first line as the whole window moves.
I have Ctrl + left mouse click for that in yabai. Would prefer if the window would not move but still rile under yabai

@dannydulai
Copy link
Contributor

dannydulai commented Nov 25, 2024

winit added support for safe areas here: rust-windowing/winit#3890

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

No branches or pull requests

5 participants