aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-01-09 18:03:33 (GMT)
committerfluxgen <fluxgen>2003-01-09 18:03:33 (GMT)
commita50b4b029a791048bf3c5d75408f6d4c77638655 (patch)
tree5d49eeb738c908f2c3dfd325ca7871b0e553fb41 /src
parent3eb4d3637fbe4059acdc323660a6ce401c7ebe80 (diff)
downloadfluxbox-a50b4b029a791048bf3c5d75408f6d4c77638655.zip
fluxbox-a50b4b029a791048bf3c5d75408f6d4c77638655.tar.bz2
minor ident and removal of debug msg
Diffstat (limited to 'src')
-rw-r--r--src/FbWinFrame.cc11
1 files 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 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWinFrame.cc,v 1.2 2003/01/07 01:30:57 fluxgen Exp $ 22// $Id: FbWinFrame.cc,v 1.3 2003/01/09 18:03:33 fluxgen Exp $
23 23
24#include "FbWinFrame.hh" 24#include "FbWinFrame.hh"
25#include "ImageControl.hh" 25#include "ImageControl.hh"
@@ -337,10 +337,8 @@ void FbWinFrame::buttonPressEvent(XButtonEvent &event) {
337 if (event.button > 5 || event.button < 1) 337 if (event.button > 5 || event.button < 1)
338 return; 338 return;
339 339
340 if (*m_commands[event.button - 1].click_pressed) { 340 if (*m_commands[event.button - 1].click_pressed)
341 cerr<<"Pressed event button = "<<event.button<<endl;
342 m_commands[event.button - 1].click_pressed->execute(); 341 m_commands[event.button - 1].click_pressed->execute();
343 }
344} 342}
345 343
346void FbWinFrame::buttonReleaseEvent(XButtonEvent &event) { 344void FbWinFrame::buttonReleaseEvent(XButtonEvent &event) {
@@ -381,7 +379,7 @@ void FbWinFrame::configureNotifyEvent(XConfigureEvent &event) {
381 379
382void FbWinFrame::reconfigure() { 380void FbWinFrame::reconfigure() {
383 m_window.clear(); 381 m_window.clear();
384 382
385 // align titlebar and render it 383 // align titlebar and render it
386 if (m_use_titlebar) 384 if (m_use_titlebar)
387 reconfigureTitlebar(); 385 reconfigureTitlebar();
@@ -660,8 +658,9 @@ void FbWinFrame::init() {
660 m_shaded = false; 658 m_shaded = false;
661 m_label.show(); 659 m_label.show();
662 660
663 showHandle(); 661 showHandle();
664 showTitlebar(); 662 showTitlebar();
663
665 // note: we don't show clientarea yet 664 // note: we don't show clientarea yet
666 665
667 setEventHandler(*this); 666 setEventHandler(*this);