diff --git a/nextclient.cpp b/nextclient.cpp index 002aa35d30..76f609c9cc 100644 --- a/nextclient.cpp +++ b/nextclient.cpp @@ -18,7 +18,7 @@ static unsigned char close_bits[] = { static unsigned char iconify_bits[] = { 0xff, 0x03, 0xff, 0x03, 0xff, 0x03, 0xff, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0xff, 0x03, 0xff, 0x03}; - + static unsigned char sticky_bits[] = { 0x00, 0x00, 0x30, 0x00, 0x30, 0x00, 0x30, 0x00, 0xfe, 0x01, 0xfe, 0x01, 0x30, 0x00, 0x30, 0x00, 0x30, 0x00, 0x00, 0x00}; @@ -26,7 +26,7 @@ static unsigned char sticky_bits[] = { static unsigned char unsticky_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x01, 0xfe, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; - + static KPixmap *aTitlePix=0; static KPixmap *iTitlePix=0; static KPixmap *aFramePix=0; @@ -176,8 +176,8 @@ NextClient::NextClient( Workspace *ws, WId w, QWidget *parent, windowLayout->addSpacing(1); windowLayout->addWidget(windowWrapper(), 1); windowLayout->addSpacing(1); - - + + button[0] = new NextButton(this, "close", close_bits, 10, 10); button[1] = new NextButton(this, "sticky"); if(isSticky()) @@ -199,7 +199,7 @@ NextClient::NextClient( Workspace *ws, WId w, QWidget *parent, button[i]->setMouseTracking( TRUE ); button[i]->setFixedSize( 18, 18 ); } - + } void NextClient::resizeEvent( QResizeEvent* e) @@ -285,6 +285,6 @@ void NextClient::stickyChange(bool on) void NextClient::init() { - // + Client::init(); } diff --git a/stdclient.cpp b/stdclient.cpp index 14a6f254a8..66f95219d8 100644 --- a/stdclient.cpp +++ b/stdclient.cpp @@ -398,7 +398,8 @@ void StdClient::mouseDoubleClickEvent( QMouseEvent * e ) void StdClient::init() { - button[0]->setIconSet( miniIcon() ); + Client::init(); + button[0]->setIconSet( miniIcon() ); // ### TODO transient etc. }