Commit ce9965cc authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

Fix typo

Summary: crate -> create

Test Plan: Still compiles.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D14584
parent c302af7c
......@@ -53,7 +53,7 @@ Shadow *Shadow::createShadow(Toplevel *toplevel)
if (!effects) {
return NULL;
}
Shadow *shadow = crateShadowFromDecoration(toplevel);
Shadow *shadow = createShadowFromDecoration(toplevel);
if (!shadow && waylandServer()) {
shadow = createShadowFromWayland(toplevel);
}
......@@ -89,7 +89,7 @@ Shadow *Shadow::createShadowFromX11(Toplevel *toplevel)
}
}
Shadow *Shadow::crateShadowFromDecoration(Toplevel *toplevel)
Shadow *Shadow::createShadowFromDecoration(Toplevel *toplevel)
{
AbstractClient *c = qobject_cast<AbstractClient*>(toplevel);
if (!c) {
......
......@@ -167,7 +167,7 @@ protected:
private:
static Shadow *createShadowFromX11(Toplevel *toplevel);
static Shadow *crateShadowFromDecoration(Toplevel *toplevel);
static Shadow *createShadowFromDecoration(Toplevel *toplevel);
static Shadow *createShadowFromWayland(Toplevel *toplevel);
static QVector<uint32_t> readX11ShadowProperty(xcb_window_t id);
bool init(const QVector<uint32_t> &data);
......
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