[PATCH] Environment variable to specify X11 window for desktop

Dmitry Timoshkov dmitry at codeweavers.com
Sun Feb 17 21:57:08 CST 2008


"Timothy Lee" <timothy.lee at siriushk.com> wrote:

>>>> I'm struggling to imagine a case where the behaviour you've 
>>>> implemented is useful.
>>> I'm actually using this code as the basis of a PowerPoint plugin 
>>> under Linux.
>> I little bit more information won't hurt. For instance why your plugin
>> needs to re-route the whole desktop window, and not just its own one.
> The patch was used in a browser plugin that uses PowerPoint Viewer 
> (97/2003/2007) and WINE to display PowerPoint slideshows.

It's still now clear to me what kind of plugin it is, and what it is
doing. You call it once "a PowerPoint plugin", and next time "a browser
plugin".

> While 
> developing the plugin, I've found that PowerPoint Viewer always playback 
> slides inside a window that covers the whole desktop.  Hence the idea 
> was born to embed the desktop inside a native X11 window.

An application plugin usually has access to the application internals in
some fashion, so I don't understand how that idea jumped from an application
window (where the plugin lives) to the whole desktop window (a separate
process).

> I thought this patch might be useful to others with similar 
> requirements, namely, to embed full-screen win32 applications inside a 
> native X11 window.

That kind of hack has nothing to do with Wine desktop window if what it
targets is just an application window.

-- 
Dmitry.



More information about the wine-devel mailing list