szanto...@gmail.com
unread,Aug 21, 2015, 10:08:59 AM8/21/15You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
We have a windowed plugin which renders frames and also captures events from the Window which is given via NPP_SetWindow call (window->window). I have the following questions:
1) We have noticed that if dom.ipc.plugins.asyncInit is set to true then XSelectInput gives an XError if the mask contains ButtonPressMask | ButtonReleaseMask. The error is "BadAccess (attempt to access private resource denied)". Does the async init locks this event masks? (from the Xlib documentation: "Only one client at a time can select a ButtonPress event, which is associated with the event mask ButtonPressMask.")
2) The display pointer in ws_info->display has an invalid address from what we have seen. Random crashes occur in X* calls if we use this display (XFlush, XSync, XLockDisplay, XUnlockDisplay, XPending). Should we use the display given in ws_info or the one that we open with XOpenDisplay(0)? (we are currently using the second).
OS: Fedora 21
Firefox: 40
Cosmin