Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 24441 Details for
Bug 38544
thinkeramik-3.0.ebuild (New)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for thinkeramik.cpp
thinkeramik.cpp.patch (text/plain), 3.01 KB, created by
ares
on 2004-01-26 07:32:31 UTC
(
hide
)
Description:
Patch for thinkeramik.cpp
Filename:
MIME Type:
Creator:
ares
Created:
2004-01-26 07:32:31 UTC
Size:
3.01 KB
patch
obsolete
>--- thinkeramik-3.0/kwin/thinkeramik.cpp.orig 2004-01-16 14:16:43.000000000 +0000 >+++ thinkeramik-3.0/kwin/thinkeramik.cpp 2004-01-20 23:26:33.204978896 +0000 >@@ -1722,7 +1722,7 @@ void ThinKeramikClient::mouseDoubleClick > } > > >-ThinKeramikClient::MousePosition ThinKeramikClient::mousePosition( const QPoint &p ) const >+ThinKeramikClient::Position ThinKeramikClient::mousePosition(const QPoint& p) const > { > int titleBaseY = (largeTitlebar ? 3 : 0); > >@@ -1738,7 +1738,7 @@ ThinKeramikClient::MousePosition ThinKer > if ( (p.y() < titleBaseY + 3 && p.x() < leftBorder + 11) || > (p.y() < titleBaseY + 6 && p.x() < leftBorder + 6) || > (p.y() < titleBaseY + 11 && p.x() < leftBorder + 3) ) >- return KDecorationDefines::TopLeft2; >+ return KDecorationDefines::PositionTopLeft; > } > > // Test for the top right corner >@@ -1746,16 +1746,16 @@ ThinKeramikClient::MousePosition ThinKer > if ( (p.y() < titleBaseY + 3 && p.x() > rightBorder - 11) || > (p.y() < titleBaseY + 6 && p.x() > rightBorder - 6) || > (p.y() < titleBaseY + 11 && p.x() > rightBorder - 3) ) >- return KDecorationDefines::TopRight2; >+ return KDecorationDefines::PositionTopRight; > } > > // Test for the top border > if ( p.y() <= 3 || (p.y() <= titleBaseY+3 && > (p.x() < captionRect.left() || p.x() > captionRect.right()) ) ) >- return KDecorationDefines::Top; >+ return KDecorationDefines::PositionTop; > > // The cursor must be over the center of the titlebar. >- return KDecorationDefines::Center; >+ return KDecorationDefines::PositionCenter; > } > > // Test the sides >@@ -1763,39 +1763,39 @@ ThinKeramikClient::MousePosition ThinKer > // Test for the left side > if ( p.x() < leftBorder ) { > if ( p.y() < height() - bottomCornerSize ) >- return KDecorationDefines::Left; >+ return KDecorationDefines::PositionLeft; > else >- return KDecorationDefines::BottomLeft2; >+ return KDecorationDefines::PositionBottomLeft; > } > > // Test for the right side > else if ( p.x() > rightBorder ) { > if ( p.y() < height() - bottomCornerSize ) >- return KDecorationDefines::Right; >+ return KDecorationDefines::PositionRight; > else >- return KDecorationDefines::BottomRight2; >+ return KDecorationDefines::PositionBottomRight; > } > > // The cursor must be over the center of the window >- return KDecorationDefines::Center; >+ return KDecorationDefines::PositionCenter; > } > > // Test the grab bar / bottom border > else { > // Test for the bottom left corner > if ( p.x() < bottomCornerSize ) >- return KDecorationDefines::BottomLeft2; >+ return KDecorationDefines::PositionBottomLeft; > > // Test for the bottom right corner > else if ( p.x() > width() - bottomCornerSize - 1 ) >- return KDecorationDefines::BottomRight2; >+ return KDecorationDefines::PositionBottomRight; > > // The cursor must be over the bottom border >- return KDecorationDefines::Bottom; >+ return KDecorationDefines::PositionBottom; > } > > // We should never get here >- return KDecorationDefines::Nowhere; >+ return KDecorationDefines::PositionCenter; > } > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 38544
:
24006
| 24441 |
24442