Permission Manager: add permission management for screencopy (#9930)

This commit is contained in:
Vaxry 2025-04-08 19:39:53 +02:00 committed by GitHub
parent 642f394eb3
commit 260d8e1f71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 481 additions and 32 deletions

View file

@ -2850,6 +2850,8 @@ void CHyprOpenGLImpl::initAssets() {
"unknown"),
CHyprColor{0.9F, 0.9F, 0.9F, 0.7F}, 20, true);
m_pScreencopyDeniedTexture = renderText("Permission denied to share screen", Colors::WHITE, 20);
ensureBackgroundTexturePresence();
}