mirror of
https://github.com/hyprwm/hyprlock.git
synced 2026-05-08 22:08:02 +02:00
fix mouse initially going to pointer without eye being visible
This commit is contained in:
parent
53684cb6f2
commit
6950331d1e
1 changed files with 1 additions and 1 deletions
|
|
@ -644,7 +644,7 @@ CBox CPasswordInputField::getEyeBox() {
|
|||
void CPasswordInputField::onHover(const Vector2D& pos) {
|
||||
CBox eyeBox = getEyeBox();
|
||||
|
||||
if (eyeBox.containsPoint(pos) && password.allowToggle && !password.eye.hide)
|
||||
if (eyeBox.containsPoint(pos) && password.allowToggle && !password.eye.hide && (passwordLength > 0 || checkWaiting))
|
||||
g_pSeatManager->m_pCursorShape->setShape(WP_CURSOR_SHAPE_DEVICE_V1_SHAPE_POINTER);
|
||||
else
|
||||
g_pSeatManager->m_pCursorShape->setShape(WP_CURSOR_SHAPE_DEVICE_V1_SHAPE_TEXT);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue