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)

Other
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: romaxa, Assigned: romaxa)

References

Details

Attachments

(2 files)

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)
Attachment #429673 - Flags: review?(dougt) → review+
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee: nobody → romaxa
Attachment #431067 - Flags: review?(dougt)
Attachment #431067 - Flags: review?(dougt) → review+
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.
(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
I filed bug 551149 to cover this.
You beat me with Bug 551151 on that one ;)
Depends on: 551149
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: