Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86979 Details for
Bug 133301
qt-3.3.6-r1 breaks kdesktop_lock under hardened
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to illuminate the problem
qwidget_x11.patch (text/plain), 1.10 KB, created by
Andre Burgoyne
on 2006-05-17 23:11:14 UTC
(
hide
)
Description:
patch to illuminate the problem
Filename:
MIME Type:
Creator:
Andre Burgoyne
Created:
2006-05-17 23:11:14 UTC
Size:
1.10 KB
patch
obsolete
>--- qt-3.3.6-r1/work/qt-x11-free-3.3.6/src/kernel/qwidget_x11.cpp.orig 2006-03-08 08:47:47.000000000 -0800 >+++ qt-3.3.6-r1/work/qt-x11-free-3.3.6/src/kernel/qwidget_x11.cpp 2006-05-17 22:57:29.000000000 -0700 >@@ -292,6 +292,8 @@ > > void QWidget::create( WId window, bool initializeWindow, bool destroyOldWindow) > { >+ unsigned long buf[(sizeof(XWindowAttributes) + sizeof(long) - 1)/ sizeof(long)]; >+ memset(&buf, 0xAB, sizeof(buf)); > if ( testWState(WState_Created) && window == 0 ) > return; > >@@ -375,7 +377,17 @@ > id = window; > setWinId( window ); > XWindowAttributes a; >+ fprintf(stderr, "size = %d/%d, diff = %d\n", sizeof(buf), sizeof(a), ((char*)buf - (char*)&a)); >+ for (unsigned i = 0; i < sizeof(buf)/sizeof(*buf); i++) { >+ fprintf(stderr, "%x ", buf[i]); >+ } >+ fprintf(stderr, "\n---- BEFORE ----\n"); > XGetWindowAttributes( dpy, window, &a ); >+ fprintf(stderr, "---- AFTER ----\n"); >+ for (unsigned i = 0; i < sizeof(buf)/sizeof(*buf); i++) { >+ fprintf(stderr, "%x ", buf[i]); >+ } >+ fprintf(stderr, "\n"); > crect.setRect( a.x, a.y, a.width, a.height ); > > if ( a.map_state == IsUnmapped )
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 133301
: 86979 |
87699