mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 10:05:59 +01:00
remove idiotic guard in processMouseDownNormal
This commit is contained in:
parent
ac0e675f3b
commit
20b91f58f8
1 changed files with 1 additions and 7 deletions
|
@ -378,12 +378,6 @@ void CInputManager::setClickMode(eClickBehaviorMode mode) {
|
|||
}
|
||||
|
||||
void CInputManager::processMouseDownNormal(wlr_pointer_button_event* e) {
|
||||
const auto PKEYBOARD = wlr_seat_get_keyboard(g_pCompositor->m_sSeat.seat);
|
||||
|
||||
if (!PKEYBOARD) { // ???
|
||||
Debug::log(ERR, "No active keyboard in processMouseDownNormal??");
|
||||
return;
|
||||
}
|
||||
|
||||
// notify the keybind manager
|
||||
static auto *const PPASSMOUSE = &g_pConfigManager->getConfigValuePtr("binds:pass_mouse_when_bound")->intValue;
|
||||
|
|
Loading…
Reference in a new issue