Attempt to fix desktop icon scrambling on logout/login

Added debugging for XBadWindow problem


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1177931 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent c47eb0fc49
commit b3227b675d

@ -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();

@ -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);
}
}

@ -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<EFBFBD>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) <EFBFBD>ndern?*/
unsigned int tmp;
char **res = NULL;
tmp = strtoul(value, res, 16);

Loading…
Cancel
Save