Permission Manager: add permission management for screencopy (#9930)
This commit is contained in:
parent
642f394eb3
commit
260d8e1f71
13 changed files with 481 additions and 32 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -283,6 +283,8 @@ class CHyprOpenGLImpl {
|
|||
bool EXT_create_context_robustness = false;
|
||||
} m_sExts;
|
||||
|
||||
SP<CTexture> m_pScreencopyDeniedTexture;
|
||||
|
||||
private:
|
||||
enum eEGLContextVersion : uint8_t {
|
||||
EGL_CONTEXT_GLES_2_0 = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue