| Summary: | Electric borders (mouse desktop switching) not working anymore | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Axel Groll <axel_groll> |
| Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Other | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Axel Groll
2001-09-26 09:33:05 UTC
On Mercredi 26 Septembre 2001 11:33 axel_groll@web.de wrote: > Package: kdesktop > Version: KDE 2.2.0 > Severity: normal > Installed from: SuSE RPMs > Compiler: Not Specified > OS: Not Specified > OS/Compiler notes: Not Specified > > Electric borders (switching to another virtual desktop by moving the mouse pointer towards the according border) isn't currently working in KDE 2.x But it's been redone for 3.x and is working in CVS. -- David FAURE david@mandrakesoft.com faure@kde.org http://perso.mandrakesoft.com/~david/ http://www.konqueror.org/ KDE Making The Future of Computing Available Today I just compiled the KDE 3.2.2. Immediatelly I have found a bug:
When trying to set "Active Desktop Borders" to "Only when moving windows"
it does not work, except in the direction "up". It starts working
if I first set "Always enabled" option and then switch back to
"Only when moving windows".
The solution is to create a method:
void Workspace::initBorderWindowsState()
{
QRect r = QApplication::desktop()->geometry();
electricTop = r.top();
electricBottom = r.bottom();
electricLeft = r.left();
electricRight = r.right();
}
and call it as the first thing in
void Workspace::init()
Namely, in case of 'Options::ElectricMoveOnly' the above
initialization never takes place (except for 'up', where it
is zero, I suppose).
Bye, Stane.
-> kwin |