]> Dogcows Code - chaz/openbox/blobdiff - otk/button.cc
only hide the dialog if a default button exists when enter is hit
[chaz/openbox] / otk / button.cc
index 774aa11bf87eeb10e03a9a332604074297b21737..f068d5a5edd03a38cde7a3432df9a7cb24c73b03 100644 (file)
@@ -38,6 +38,8 @@ void Button::release(unsigned int mouse_button)
 
   styleChanged(*RenderStyle::style(screen()));
   refresh();
+
+  clickHandler(_mouse_button);
 }
 
 void Button::buttonPressHandler(const XButtonEvent &e)
This page took 0.025134 seconds and 4 git commands to generate.