Comment 15 for bug 197673

Revision history for this message
Florent Mertens (givre) wrote :

Ok, forget my previous implementation idea, i was confused by the big mess
of the upstream tree. There is of course no apply_configuration in g-s-d, it's a
running daemon (damn i'm stupid). So xrandr_capplet talk to it with Xevents.

So i have an other implementation idea. Why not create an xevent for testing
purpose.We would call it _GNOME_RANDR_ATOM_TEST for exemple. It would call
a configuration_apply_stored_test (or configuration_apply_stored(screen, testfile)
as you want) that would apply a test file.

so apply() in xrandr_capplet would work like that :
configuration_save(,,testfile)
XsendEvent <- _GNOME_RANDR_ATOM_TEST message
run_revert_dialog
configuration_save(,,file)

Might be a bit confusion. I may hack a bit on it tomorrow night to see what i can do with it.