Rename raiseWindows() to ensureOnTop()
REVIEW: 101789
This commit is contained in:
parent
c8cf1e4c7e
commit
aa14d53b71
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue