mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-29 22:05:58 +01:00
add comments
This commit is contained in:
parent
44bf6e2c09
commit
821b849218
1 changed files with 2 additions and 0 deletions
|
@ -383,6 +383,8 @@ void CWindow::updateDynamicRules() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if the point is "hidden" under a rounded corner of the window
|
// check if the point is "hidden" under a rounded corner of the window
|
||||||
|
// it is assumed that the point is within the real window box (m_vRealPosition, m_vRealSize)
|
||||||
|
// otherwise behaviour is undefined
|
||||||
bool CWindow::isInCurvedCorner(double x, double y) {
|
bool CWindow::isInCurvedCorner(double x, double y) {
|
||||||
static auto* const ROUNDING = &g_pConfigManager->getConfigValuePtr("decoration:rounding")->intValue;
|
static auto* const ROUNDING = &g_pConfigManager->getConfigValuePtr("decoration:rounding")->intValue;
|
||||||
static auto* const BORDERSIZE = &g_pConfigManager->getConfigValuePtr("general:border_size")->intValue;
|
static auto* const BORDERSIZE = &g_pConfigManager->getConfigValuePtr("general:border_size")->intValue;
|
||||||
|
|
Loading…
Reference in a new issue