fixup! fix: change {,allow_}pin_fullscreen in compositor.cpp too

This commit is contained in:
littleblack111 2024-11-21 17:54:34 +08:00
parent 55c781f3f8
commit ef11fd7099
No known key found for this signature in database
GPG key ID: 45AE0FF5962FA6EF
2 changed files with 9 additions and 1 deletions

View file

@ -2339,7 +2339,7 @@ void CCompositor::setWindowFullscreenClient(const PHLWINDOW PWINDOW, const eFull
void CCompositor::setWindowFullscreenState(const PHLWINDOW PWINDOW, sFullscreenState state) { void CCompositor::setWindowFullscreenState(const PHLWINDOW PWINDOW, sFullscreenState state) {
static auto PDIRECTSCANOUT = CConfigValue<Hyprlang::INT>("render:direct_scanout"); static auto PDIRECTSCANOUT = CConfigValue<Hyprlang::INT>("render:direct_scanout");
static auto PALLOWPINFULLSCREEN = CConfigValue<Hyprlang::INT>("binds:pin_fullscreen"); static auto PALLOWPINFULLSCREEN = CConfigValue<Hyprlang::INT>("binds:allow_pin_fullscreen");
if (!validMapped(PWINDOW) || g_pCompositor->m_bUnsafeState) if (!validMapped(PWINDOW) || g_pCompositor->m_bUnsafeState)
return; return;

8
src/version.h Normal file
View file

@ -0,0 +1,8 @@
#pragma once
#define GIT_COMMIT_HASH "360dcead312d9aff9c4b805a6064d4559ac655db"
#define GIT_BRANCH ""
#define GIT_COMMIT_MESSAGE " change: pin_fullscreen -> allow_pin_fullscreen"
#define GIT_COMMIT_DATE "Thu Nov 21 12:17:31 2024"
#define GIT_DIRTY "dirty"
#define GIT_TAG "v0.45.0-57-g360dcead"
#define GIT_COMMITS "5490"