It would be nice to have a windowless plugin example for X11 in the tree, to demonstrate how to use the API.
Created attachment 270128 [details] [diff] [review] windowless unixprinting This is from attachment 267964 [details] [diff] [review] "X11 windowless plugin support 0.2" in bug 137189. It uses the windowless drawing but doesn't test input events, and "unixprinting" doesn't really seem right for a windowless plugin sample.
Created attachment 270132 [details] [diff] [review] windowless mode support 2 for diamondx-0.1 This example demonstrates drawing, input events, and dialog boxes. I think the only notable part of the API not used is window->clipRect. This patch is an updated version from attachment 267965 [details] [diff] [review] in bug 137189. The most notable difference is the use of the toplevel browser window to make the dialogs modal. diamondx-0.1 is available from http://multimedia.cx/diamondx/ It is copyright Adobe, licence BSD.
Created attachment 285792 [details] [diff] [review] windowless mode support 3 for diamondx-0.1 (with NPNVSupportsWindowless) updated for NPNVSupportsWindowless from bug 386537
9 years ago