Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 133301 | Differences between
and this patch

Collapse All | Expand All

(-)qt-x11-free-3.3.6/src/kernel/qwidget_x11.cpp.orig (-1 / +1 lines)
Lines 292-297 Link Here
292
292
293
void QWidget::create( WId window, bool initializeWindow, bool destroyOldWindow)
293
void QWidget::create( WId window, bool initializeWindow, bool destroyOldWindow)
294
{
294
{
295
    XWindowAttributes a;
295
    if ( testWState(WState_Created) && window == 0 )
296
    if ( testWState(WState_Created) && window == 0 )
296
	return;
297
	return;
297
298
Lines 374-380 Link Here
374
	    destroyw = winid;
375
	    destroyw = winid;
375
	id = window;
376
	id = window;
376
	setWinId( window );
377
	setWinId( window );
377
	XWindowAttributes a;
378
	XGetWindowAttributes( dpy, window, &a );
378
	XGetWindowAttributes( dpy, window, &a );
379
	crect.setRect( a.x, a.y, a.width, a.height );
379
	crect.setRect( a.x, a.y, a.width, a.height );
380
380

Return to bug 133301