config: move various cursor-related vars to cursor:
This commit is contained in:
parent
7cf810b181
commit
b0861b6709
9 changed files with 21 additions and 21 deletions
|
|
@ -2394,9 +2394,9 @@ PHLWINDOW CCompositor::getWindowByRegex(const std::string& regexp) {
|
|||
void CCompositor::warpCursorTo(const Vector2D& pos, bool force) {
|
||||
|
||||
// warpCursorTo should only be used for warps that
|
||||
// should be disabled with no_cursor_warps
|
||||
// should be disabled with no_warps
|
||||
|
||||
static auto PNOWARPS = CConfigValue<Hyprlang::INT>("general:no_cursor_warps");
|
||||
static auto PNOWARPS = CConfigValue<Hyprlang::INT>("cursor:no_warps");
|
||||
|
||||
if (*PNOWARPS && !force)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue