implement relative window levels, closes #8153
This commit is contained in:
parent
91ed9aeeee
commit
7a0a87a6f3
6 changed files with 20 additions and 7 deletions
|
@ -512,8 +512,10 @@ bool Window::IsClosable() {
|
|||
|
||||
void Window::SetAlwaysOnTop(bool top, mate::Arguments* args) {
|
||||
std::string level = "floating";
|
||||
int relativeLevel = 0;
|
||||
args->GetNext(&level);
|
||||
window_->SetAlwaysOnTop(top, level);
|
||||
args->GetNext(&relativeLevel);
|
||||
window_->SetAlwaysOnTop(top, level, relativeLevel);
|
||||
}
|
||||
|
||||
bool Window::IsAlwaysOnTop() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue