Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 81230
Collapse All | Expand All

(-)baghiraclient.cc~ (+2 lines)
Lines 1573-1580 bool BaghiraClient::eventFilter( QObject Link Here
1573
	case QEvent::MouseButtonPress: {
1573
	case QEvent::MouseButtonPress: {
1574
            if (titlebar_->geometry().contains( static_cast<QMouseEvent *>(e)->pos() ) && static_cast<QMouseEvent *>(e)->state() == Qt::ControlButton){
1574
            if (titlebar_->geometry().contains( static_cast<QMouseEvent *>(e)->pos() ) && static_cast<QMouseEvent *>(e)->state() == Qt::ControlButton){
1575
                currentStyle < 2 ? currentStyle++ : currentStyle = 0;
1575
                currentStyle < 2 ? currentStyle++ : currentStyle = 0;
1576
#if KDE_IS_VERSION(3,3,91)
1576
                unsigned long wmDesign = currentStyle;
1577
                unsigned long wmDesign = currentStyle;
1577
                XChangeProperty(qt_xdisplay(), windowId(), baghira_deco_design, XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &wmDesign, 1L);
1578
                XChangeProperty(qt_xdisplay(), windowId(), baghira_deco_design, XA_CARDINAL, 32, PropModeReplace, (unsigned char *) &wmDesign, 1L);
1579
#endif
1578
                widget()->repaint();
1580
                widget()->repaint();
1579
                QBitmap *m = NULL;
1581
                QBitmap *m = NULL;
1580
                QBitmap *mn = NULL;
1582
                QBitmap *mn = NULL;

Return to bug 81230