whoops, restoring binary compatibility in case we want it (SC was given)

svn path=/trunk/kdebase/kwin/; revision=100140
This commit is contained in:
Dirk Mueller 2001-06-03 09:30:19 +00:00
parent 8e8dce5e64
commit 5a49a411dd
3 changed files with 15 additions and 7 deletions

View file

@ -18,7 +18,7 @@ kwinincludedir = $(includedir)/kwin
kwininclude_HEADERS = options.h client.h workspace.h
kwin_SOURCES = kwin_main.cpp
kwin_LDADD = kwin.la $(LIBXINERAMA)
kwin_LDADD = kwin.la
kwin_LDFLAGS = $(all_libraries) $(KDE_RPATH)
KDE_ICON = kwin

View file

@ -2885,10 +2885,10 @@ QPoint Workspace::adjustClientPosition( Client* c, QPoint pos )
for (l = clients.begin();l != clients.end();++l )
{
if ((*l)->isOnDesktop(currentDesktop()) && (*l) != desktop_client &&
!(*l)->isIconified()
#if 0
&& (*l)->transientFor() == None
#endif
!(*l)->isIconified()
#if 0
&& (*l)->transientFor() == None
#endif
&& (*l) != c )
{
lx = (*l)->x();
@ -3643,6 +3643,11 @@ QRect Workspace::clientArea(clientAreaOption opt)
return area.intersect(rect);
}
// ### KDE3: remove me!
QRect Workspace::clientArea()
{
return clientArea( MaximizeArea );
}
void Workspace::loadDesktopSettings()
{
@ -3730,5 +3735,5 @@ void Workspace::checkStartOnDesktop( WId w )
if( info.desktop() == 0 )
info.setDesktop( data.desktop());
}
#include "workspace.moc"

View file

@ -115,7 +115,10 @@ public:
enum clientAreaOption { PlacementArea, MovementArea, MaximizeArea };
QRect clientArea(clientAreaOption opt = MaximizeArea);
// default is MaximizeArea
QRect clientArea(); // ### KDE3: remove me!
QRect clientArea(clientAreaOption);
void removeClient( Client* );