From a50b4b029a791048bf3c5d75408f6d4c77638655 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Thu, 9 Jan 2003 18:03:33 +0000 Subject: minor ident and removal of debug msg --- src/FbWinFrame.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index d467ccd..ac11a25 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbWinFrame.cc,v 1.2 2003/01/07 01:30:57 fluxgen Exp $ +// $Id: FbWinFrame.cc,v 1.3 2003/01/09 18:03:33 fluxgen Exp $ #include "FbWinFrame.hh" #include "ImageControl.hh" @@ -337,10 +337,8 @@ void FbWinFrame::buttonPressEvent(XButtonEvent &event) { if (event.button > 5 || event.button < 1) return; - if (*m_commands[event.button - 1].click_pressed) { - cerr<<"Pressed event button = "<execute(); - } } void FbWinFrame::buttonReleaseEvent(XButtonEvent &event) { @@ -381,7 +379,7 @@ void FbWinFrame::configureNotifyEvent(XConfigureEvent &event) { void FbWinFrame::reconfigure() { m_window.clear(); - + // align titlebar and render it if (m_use_titlebar) reconfigureTitlebar(); @@ -660,8 +658,9 @@ void FbWinFrame::init() { m_shaded = false; m_label.show(); - showHandle(); + showHandle(); showTitlebar(); + // note: we don't show clientarea yet setEventHandler(*this); -- cgit v0.11.2