Bug 498033 - Make Metacity aware of DESKTOP_AUTOSTART_ID env var to define session client ID
Make Metacity aware of DESKTOP_AUTOSTART_ID env var to define session client ID
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
2.21.x
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2007-11-18 22:54 UTC by Lucas Rocha
Modified: 2007-11-18 23:50 UTC (History)
1 user (show)

See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Patch that does the trick. (930 bytes, patch)
2007-11-18 22:56 UTC, Lucas Rocha
committed Details | Diff | Review

Description Lucas Rocha 2007-11-18 22:54:24 UTC
This is needed for the upcoming new gnome-session startup.
Comment 1 Lucas Rocha 2007-11-18 22:56:03 UTC
Created attachment 99304 [details] [review]
Patch that does the trick.
Comment 2 Thomas Thurman 2007-11-18 23:03:43 UTC
Looks good to me; feel free to commit (or I will if you'd rather).
Comment 3 Lucas Rocha 2007-11-18 23:50:46 UTC
Ok, commited in trunk. Thanks Thomas!

2007-11-19  Lucas Rocha  <lucasr@gnome.org>

        * src/main.c (main): try to get the session client ID from
        DESKTOP_AUTOSTART_ID environment variable in case the --sm-client-id
        is not used. Closes #498033.

Note You need to log in before you can comment on or make changes to this bug.