| Summary: | setWidgetOnTop won't go off-top | ||
|---|---|---|---|
| Product: | [Unmaintained] superkaramba | Reporter: | Jaroslaw Filiochowski <jarfil> |
| Component: | general | Assignee: | Ryan Nickell <p0z3r> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jaroslaw Filiochowski
2006-05-12 19:36:34 UTC
SVN commit 553433 by nickell:
BUG:127217
Use the KeepBelow and KeepAbove arguments to KWin::setState()
instead of using KWin::clearState().
M +2 -2 karamba.cpp
--- branches/KDE/3.5/kdeutils/superkaramba/src/karamba.cpp #553432:553433
@@ -2047,12 +2047,12 @@
if(stay)
{
onTop = true;
- KWin::setState( winId(), NET::StaysOnTop );
+ KWin::setState( winId(), NET::KeepAbove );
}
else
{
onTop = false;
- KWin::clearState( winId(), NET::StaysOnTop );
+ KWin::setState( winId(), NET::KeepBelow );
}
}
|