X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fbutton.cc;h=f068d5a5edd03a38cde7a3432df9a7cb24c73b03;hb=213df2814b002da2c5f324210d44559f9d651e21;hp=c0f48100056d0648f9e1496640ed60a8f14485b0;hpb=ef231de58a738c83bf505e184fbafa9077f7452e;p=chaz%2Fopenbox diff --git a/otk/button.cc b/otk/button.cc index c0f48100..f068d5a5 100644 --- a/otk/button.cc +++ b/otk/button.cc @@ -1,8 +1,6 @@ // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- -#ifdef HAVE_CONFIG_H -# include "../config.h" -#endif +#include "config.h" #include "button.hh" @@ -40,6 +38,8 @@ void Button::release(unsigned int mouse_button) styleChanged(*RenderStyle::style(screen())); refresh(); + + clickHandler(_mouse_button); } void Button::buttonPressHandler(const XButtonEvent &e)