NPNVxDisplay for windowless plugins should not return the Display* of an XtBin

RESOLVED FIXED in mozilla1.9.1a1

Status

()

Core
Plug-ins
RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: karlt, Unassigned)

Tracking

Trunk
mozilla1.9.1a1
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
Created attachment 328606 [details] [diff] [review]
use GDK_DISPLAY() in the same way as XEmbed plugins

Mozilla's Display* connection to the X server is already available to plugins through the ws_info NPSetWindowCallbackStruct of the NPWindow, but
NPN_GetValue(NPNVxDisplay) should return the same connection rather than creating an XtBin for a different connection that is unnecessary for windowless plugins.
Attachment #328606 - Flags: review?(jst)

Updated

10 years ago
Attachment #328606 - Flags: superreview+
Attachment #328606 - Flags: review?(jst)
Attachment #328606 - Flags: review+
(Reporter)

Comment 1

10 years ago
http://hg.mozilla.org/index.cgi/mozilla-central/rev/568dc709dfda
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1a1
You need to log in before you can comment on or make changes to this bug.