Felix Maibaum wrote:
Again, any pointers of what gets done when on startup? I briefly browsed through the code and found the documentation somewhat lacking.

Yes, the code provides the documentation there is :)

I'll be happy to give advice but I need to understand what you want to do.
I believe you want to do this:

- On startup, E checks the screen resolution and selects between
different configurations.
Did you consider simply using different directories using -econfdir, as
I previously suggested?
Maybe the only things that need to differ are the saved window settings
(...e_session-XXXXXX.snapshots.*)?

- When the resolution is changed using xrandr E detects this and
restarts (or maybe just reconfigures?).
I'm not familiar with RandR but I assume this requires handling of some
new X events.
Or did you intend to tell E to change the screen resolution and restart?

A few pointers:
Start out from current CVS.
Start in:            main() :)
Screen size:         SetupX()
Load saved settings: LoadSnapInfo()
Load configuration:  LoadEConfig()

/Kim



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to