diff options
Diffstat (limited to 'src/Window.cc')
| -rw-r--r-- | src/Window.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc index 4bfca5c5..09d4ec60 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -2750,8 +2750,8 @@ void BlackboxWindow::buttonReleaseEvent(const XButtonEvent *re) { BInput::IconifyButtonClick)) redrawIconifyButton(False); } else if (frame.close_button == re->window) { - if ((re->x < 0 || re->x >= static_cast<signed>(frame.button_w)) || - (re->y < 0 || re->y >= static_cast<signed>(frame.button_w))) + if (! ((re->x < 0 || re->x >= static_cast<signed>(frame.button_w)) || + (re->y < 0 || re->y >= static_cast<signed>(frame.button_w)))) input->doAction(this, re->button, state, BInput::CloseButtonClick); redrawCloseButton(False); } else if (flags.moving) { |
