Summary: | yakuake doesn't attach to the top of the screen on second screen | ||
---|---|---|---|
Product: | [Applications] yakuake | Reporter: | Kamil Kuduk <kamil.kuduk> |
Component: | general | Assignee: | Eike Hein <hein> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | Git (KDE Platform 4) | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
URL: | http://i.imgur.com/NbvYKro.jpg | ||
Latest Commit: | http://commits.kde.org/yakuake/785bac2127a46fae1ebf75b6f5ff2fb70015c796 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
patch fixing the problem
Hopefully correct patch |
Description
Kamil Kuduk
2013-11-24 22:07:20 UTC
Created attachment 83740 [details]
patch fixing the problem
One more comment. from: kdeui / windowmanagement / kwindowinfo_x11.cpp int KWindowInfo::desktop() const { [...] if( KWindowSystem::mapViewport()) { if( onAllDesktops()) return NET::OnAllDesktops; return KWindowSystem::viewportWindowToDesktop( d->geometry_ ); } return d->info->desktop(); } so KWindowInfo::desktop() returns -1 (NET::OnAllDesktops) if window is on all desktops. I'm not sure why this did work in the past though. Created attachment 83775 [details]
Hopefully correct patch
Could you please check if the attached patch works for you as well?
(Your solution isn't quite right - the idea is to build a list of windows that KWindowSystem::workArea() should be ignoring.)
Oh, nvm, sorry - I just got back from a vacation and looked at the wrong patch. What yours is doing is equivalent to mine, just a little nicer. I'll apply it, thanks! Git commit 785bac2127a46fae1ebf75b6f5ff2fb70015c796 by Eike Hein. Committed on 26/11/2013 at 17:12. Pushed by hein into branch 'master'. Correctly catch offscreen panels when building the exclude list for workArea(). M +1 -1 app/mainwindow.cpp http://commits.kde.org/yakuake/785bac2127a46fae1ebf75b6f5ff2fb70015c796 |