From aa14d53b7194e4503c712576055407e5d8bf6517 Mon Sep 17 00:00:00 2001 From: Arthur Arlt Date: Mon, 4 Jul 2011 12:55:58 +0200 Subject: [PATCH] Rename raiseWindows() to ensureOnTop() REVIEW: 101789 --- effects.cpp | 4 ++-- screenedge.cpp | 2 +- screenedge.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/effects.cpp b/effects.cpp index ad34bd1506..41e2435c92 100644 --- a/effects.cpp +++ b/effects.cpp @@ -870,7 +870,7 @@ Window EffectsHandlerImpl::createInputWindow(Effect* e, int x, int y, int w, int // Raise electric border windows above the input windows // so they can still be triggered. - Workspace::self()->screenEdge()->raiseWindows(); + Workspace::self()->screenEdge()->ensureOnTop(); return win; } @@ -941,7 +941,7 @@ void EffectsHandlerImpl::checkInputWindowStacking() delete[] wins; // Raise electric border windows above the input windows // so they can still be triggered. TODO: Do both at once. - Workspace::self()->screenEdge()->raiseWindows(); + Workspace::self()->screenEdge()->ensureOnTop(); } QPoint EffectsHandlerImpl::cursorPos() const diff --git a/screenedge.cpp b/screenedge.cpp index 0390d11864..1dc85a80ea 100644 --- a/screenedge.cpp +++ b/screenedge.cpp @@ -352,7 +352,7 @@ bool ScreenEdge::isEntered(XEvent* e) return false; } -void ScreenEdge::raiseWindows() +void ScreenEdge::ensureOnTop() { Window* windows = new Window[ 8 ]; // There are up to 8 borders int pos = 0; diff --git a/screenedge.h b/screenedge.h index 5c603d803e..cf08164664 100644 --- a/screenedge.h +++ b/screenedge.h @@ -89,7 +89,7 @@ public: * Raise electric border windows to the real top of the screen. We only need * to do this if an effect input window is active. */ - void raiseWindows(); + void ensureOnTop(); /** * Called when the user entered an electric border with the mouse. * It may switch to another virtual desktop.