Re: Application launch detection
- From: raster rasterman com
- To: hercules lokigames com
- Cc: hp redhat com, xdg-list freedesktop org, wm-spec-list gnome org, rik kde org, altic lysator liu se, jirka 5z com
- Subject: Re: Application launch detection
- Date: Fri, 10 Nov 2000 11:48:31 -0800 (PST)
On 10 Nov, Sam Lantinga scribbled:
-> Havoc Pennington wrote:
-> >
-> > raster rasterman com writes:
-> > > i alreayd have a PID and LAUNCH_Id property workign via an LD_PRELOAD
-> > > hack the launcher uses for apps - works like a charm (XCreateWindow,
-> > > XCreateSimpleWindow and XReparentWindow are wraped and hacked to
-> > > forcibly set these and other properties)
->
-> If I were to have SDL support this, would I do the following:
->
-> 1. In SDL_Init(), set the PID property
-> 2. In SDL_SetVideoMode(), which maps a window, set the LAUNCH_ID
-> property
problem right now is you'd have to knwo what your launch_id was - we'd
have to pass that along in some environment variable i guess :)
-> SDL is Simple DirectMedia Layer: http://www.libsdl.org/
->
-> SDL uses two windows to easily manage windowed/fullscreen transitions,
-> but only one window is used for keyboard and mouse input. Should I set
-> the properties on both windows? Does anybody have some sample code with
-> the proper sequence of calls?
only the toplevel window that is mapped needs the properties :)
--
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
The Rasterman (Carsten Haitzler) raster rasterman com raster valinux com
raster enlightenment org raster linux com
raster zip com au
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]