Closed
Bug 549554
Opened 16 years ago
Closed 16 years ago
MOZ_X_SYNC evn option does not work in MOZ_QT port
Categories
(Toolkit :: Startup and Profile System, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: romaxa, Assigned: romaxa)
References
Details
Attachments
(2 files)
|
1.05 KB,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
|
496 bytes,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
toolkit/xre/nsX11ErrorHandler.cpp
#ifdef MOZ_WIDGET_GTK2
// Actually, for requests where Xlib gets the reply synchronously,
// MOZ_X_SYNC=1 will not be necessary, but we don't have a table to tell us
// which requests get a synchronous reply.
Attachment #429673 -
Flags: review?(dougt)
Updated•16 years ago
|
Attachment #429673 -
Flags: review?(dougt) → review+
| Assignee | ||
Comment 1•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•16 years ago
|
Assignee: nobody → romaxa
| Assignee | ||
Comment 2•16 years ago
|
||
Attachment #431067 -
Flags: review?(dougt)
Updated•16 years ago
|
Attachment #431067 -
Flags: review?(dougt) → review+
Comment 3•16 years ago
|
||
You _might_ need to rearrange that chunk of included headers to read...
#ifdef MOZ_WIDGET_GTK2
#include <gdk/gdkx.h>
#elif defined(MOZ_WIDGET_QT)
#include <QX11Info>
#endif
#include <X11/Xlib.h>
to avoid compilation issues in particular versions of Qt. From what I can see you need to include X11/Xlib.h after QX11Info.
Comment 4•16 years ago
|
||
(In reply to comment #3)
> You _might_ need to rearrange that chunk of included headers to read...
>
> #ifdef MOZ_WIDGET_GTK2
> #include <gdk/gdkx.h>
> #elif defined(MOZ_WIDGET_QT)
> #include <QX11Info>
> #endif
> #include <X11/Xlib.h>
>
> to avoid compilation issues in particular versions of Qt. From what I can see
> you need to include X11/Xlib.h after QX11Info.
The patch does indeed prevent trunk to build Fennec for Qt in its current form due to that include
Comment 5•16 years ago
|
||
I filed bug 551149 to cover this.
Comment 6•16 years ago
|
||
You beat me with Bug 551151 on that one ;)
You need to log in
before you can comment on or make changes to this bug.
Description
•