Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 147596 Details for
Bug 211469
kde-base/{kdebase,kdelibs}-3.5.{8,9} - Xinerama patches missing
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kdebase patch if applied directly from kdesktop ebuild
kdebase-kdesktop-only-seli-xinerama.patch (text/plain), 3.31 KB, created by
Vladimir Brik
on 2008-03-29 01:07:12 UTC
(
hide
)
Description:
kdebase patch if applied directly from kdesktop ebuild
Filename:
MIME Type:
Creator:
Vladimir Brik
Created:
2008-03-29 01:07:12 UTC
Size:
3.31 KB
patch
obsolete
>diff -u -p -N -r kdebase.sav/kdesktop/desktop.cc kdebase/kdesktop/desktop.cc >--- kdebase.sav/kdesktop/desktop.cc 2006-09-01 13:22:32.000000000 +0200 >+++ kdebase/kdesktop/desktop.cc 2006-09-01 13:26:24.000000000 +0200 >@@ -516,9 +516,12 @@ void KDesktop::popupExecuteCommand(const > if ( m_miniCli->isVisible() ) { > KWin::forceActiveWindow( m_miniCli->winId() ); > } else { >- QRect rect = KGlobalSettings::desktopGeometry(QCursor::pos()); >- m_miniCli->move(rect.x() + (rect.width() - m_miniCli->width())/2, >- rect.y() + (rect.height() - m_miniCli->height())/2); >+ NETRootInfo i( qt_xdisplay(), NET::Supported ); >+ if( !i.isSupported( NET::WM2FullPlacement )) { >+ QRect rect = KGlobalSettings::desktopGeometry(QCursor::pos()); >+ m_miniCli->move(rect.x() + (rect.width() - m_miniCli->width())/2, >+ rect.y() + (rect.height() - m_miniCli->height())/2); >+ } > m_miniCli->show(); // non-modal > } > } >diff -u -p -N -r kdebase.sav/kdesktop/minicli.cpp kdebase/kdesktop/minicli.cpp >--- kdebase.sav/kdesktop/minicli.cpp 2006-04-13 14:02:46.000000000 +0200 >+++ kdebase/kdesktop/minicli.cpp 2006-09-01 13:27:04.000000000 +0200 >@@ -369,6 +369,17 @@ int Minicli::runCommand() > cmd = uri.path(); > else > cmd = uri.url(); >+ >+ QCString asn; >+ if( qApp->desktop()->isVirtualDesktop()) >+ { >+ asn = KStartupInfo::createNewStartupId(); >+ KStartupInfoId id; >+ id.initId( asn ); >+ KStartupInfoData data; >+ data.setXinerama( qApp->desktop()->screenNumber( this )); >+ KStartupInfo::sendChange( id, data ); >+ } > > // Determine whether the application should be run through > // the command line (terminal) interface... >@@ -504,7 +515,7 @@ int Minicli::runCommand() > case KURIFilterData::HELP: > { > // No need for kfmclient, KRun does it all (David) >- (void) new KRun( m_filterData->uri(), parentWidget()); >+ (void) new KRun( m_filterData->uri(), parentWidget(), asn ); > return 0; > } > case KURIFilterData::EXECUTABLE: >@@ -516,7 +527,7 @@ int Minicli::runCommand() > if (service && service->isValid() && service->type() == "Application") > { > notifyServiceStarted(service); >- KRun::run(*service, KURL::List()); >+ KRun::run(*service, KURL::List(), parentWidget(), asn ); > return 0; > } > } >@@ -551,7 +562,7 @@ int Minicli::runCommand() > if (service && service->isValid() && service->type() == "Application") > { > notifyServiceStarted(service); >- KRun::run(*service, KURL::List(), this); >+ KRun::run(*service, KURL::List(), parentWidget(), asn ); > return 0; > } > >@@ -559,7 +570,7 @@ int Minicli::runCommand() > if (service && service->isValid() && service->type() == "Application") > { > notifyServiceStarted(service); >- KRun::run(*service, KURL::List(), this); >+ KRun::run(*service, KURL::List(), parentWidget(), asn ); > return 0; > } > >@@ -571,7 +582,7 @@ int Minicli::runCommand() > } > } > >- if ( KRun::runCommand( cmd, exec, m_iconName ) ) >+ if ( KRun::runCommand( cmd, exec, m_iconName, parentWidget(), asn ) ) > return 0; > else > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 211469
:
147585
|
147586
| 147596 |
147597