summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kdesktop/kdiconview.cc4
-rw-r--r--kicker/applets/systemtray/systemtrayapplet.cpp1
-rw-r--r--kwin/kompmgr/kompmgr.c4
3 files changed, 5 insertions, 4 deletions
diff --git a/kdesktop/kdiconview.cc b/kdesktop/kdiconview.cc
index 66796ca39..4124a3e8e 100644
--- a/kdesktop/kdiconview.cc
+++ b/kdesktop/kdiconview.cc
@@ -1082,7 +1082,7 @@ void KDIconView::slotNewItems( const KFileItemList & entries )
TQRect oldPos = fileIVI->rect();
fileIVI->move( x, y );
- if ( !firstRun && !isFreePosition( fileIVI ) ) // if we can't put it there, then let TQIconView decide
+ if ( (!firstRun) && (!isFreePosition( fileIVI )) && (!m_needDesktopAlign) ) // if we can't put it there, then let TQIconView decide
{
kdDebug(1214)<<"slotNewItems() pos was not free :-("<<endl;
fileIVI->move( oldPos.x(), oldPos.y() );
@@ -1496,7 +1496,7 @@ void KDIconView::updateWorkArea( const TQRect &wr )
if (( iconArea() == wr ) && (m_needDesktopAlign == false)) return; // nothing changed; avoid repaint/saveIconPosition ...
-// m_needDesktopAlign = false;
+ m_needDesktopAlign = false;
lineupIcons();
TQRect oldArea = iconArea();
diff --git a/kicker/applets/systemtray/systemtrayapplet.cpp b/kicker/applets/systemtray/systemtrayapplet.cpp
index ad44b640f..d729c6b50 100644
--- a/kicker/applets/systemtray/systemtrayapplet.cpp
+++ b/kicker/applets/systemtray/systemtrayapplet.cpp
@@ -1081,6 +1081,7 @@ void TrayEmbed::setBackground()
if (!isHidden())
{
+ printf("[systemtray] Clearing area to set background\n\r");
XClearArea(x11Display(), embeddedWinId(), 0, 0, 0, 0, True);
}
}
diff --git a/kwin/kompmgr/kompmgr.c b/kwin/kompmgr/kompmgr.c
index a91d0a3d6..713752ee1 100644
--- a/kwin/kompmgr/kompmgr.c
+++ b/kwin/kompmgr/kompmgr.c
@@ -30,7 +30,7 @@
/* Modified by Dan Doel*/
/*
-Version 2.x of xcompmgr, kompmgr changes by Thomas L�bking and Heiko Przybyl
+Version 2.x of xcompmgr, kompmgr changes by Thomas L�bking and Heiko Przybyl
check baghira.sf.net for more infos
*/
#define _VERSION_ 2.02
@@ -2265,7 +2265,7 @@ ev_window (XEvent *ev)
}
void
-setShadowColor(char *value){ /*format nach #xxxxxx (html) �ndern?*/
+setShadowColor(char *value){ /*format nach #xxxxxx (html) �ndern?*/
unsigned int tmp;
char **res = NULL;
tmp = strtoul(value, res, 16);