mirror of
https://github.com/hyprwm/hyprlock.git
synced 2026-01-04 00:00:11 +01:00
core: limit onClick to down events (#826)
This commit is contained in:
parent
31297a871b
commit
1553dd78fc
1 changed files with 3 additions and 0 deletions
|
|
@ -701,6 +701,9 @@ void CHyprlock::handleKeySym(xkb_keysym_t sym, bool composed) {
|
|||
}
|
||||
|
||||
void CHyprlock::onClick(uint32_t button, bool down, const Vector2D& pos) {
|
||||
if (!down)
|
||||
return;
|
||||
|
||||
if (!m_focusedOutput.lock())
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue