Commit 4ad9752c authored by Julian Heng's avatar Julian Heng Committed by Nate Graham
Browse files

Fix typo

parent a53d2bfe
......@@ -253,13 +253,13 @@ xcb_window_t PlatformXcb::getWindowUnderCursor()
return lPointerReply->child;
}
xcb_window_t PlatformXcb::getTransientWindowParent(xcb_window_t theChildWindow, QRect &theWindowRectOut, bool theIncludeDectorations)
xcb_window_t PlatformXcb::getTransientWindowParent(xcb_window_t theChildWindow, QRect &theWindowRectOut, bool theIncludeDecorations)
{
NET::Properties lNetProp = theIncludeDectorations ? NET::WMFrameExtents : NET::WMGeometry;
NET::Properties lNetProp = theIncludeDecorations ? NET::WMFrameExtents : NET::WMGeometry;
KWindowInfo lWindowInfo(theChildWindow, lNetProp, NET::WM2TransientFor);
// add the current window to the image
if (theIncludeDectorations) {
if (theIncludeDecorations) {
theWindowRectOut = lWindowInfo.frameGeometry();
} else {
theWindowRectOut = lWindowInfo.geometry();
......
......@@ -43,7 +43,7 @@ class PlatformXcb final: public Platform
QPoint getCursorPosition();
QRect getDrawableGeometry(xcb_drawable_t theDrawable);
xcb_window_t getWindowUnderCursor();
xcb_window_t getTransientWindowParent(xcb_window_t theChildWindow, QRect &theWindowRectOut, bool theIncludeDectorations);
xcb_window_t getTransientWindowParent(xcb_window_t theChildWindow, QRect &theWindowRectOut, bool theIncludeDecorations);
QPixmap convertFromNative(xcb_image_t *theXcbImage);
QPixmap blendCursorImage(QPixmap &thePixmap, const QRect theRect);
QPixmap postProcessPixmap(QPixmap &thePixmap, QRect theRect, bool theBlendPointer);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment