NB: This is needed because apparently the e_randr serialization code
works DIRECTLY on the E_Randr_Info structures (E_Randr_Output_Info,
etc, etc). Sooo, in order to save and restore a randr config, we need
for the monitor to update those structures First before we tell
e_randr to save things else it will save with incorrect values.
NB: This is the START of save/restore configuration work.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81161
breaks).
Export e_randr_try_restore_configuration function so it can be used
from the RandR module.
Combine serialized_setup_new code into one function (No reason for
additional function call).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81159
(NB: It was exposed in the serialization file, but never provided by
the e_randr header).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81146
When we are uncloning, don't use crtc geometry but rather use the
monitors visual position.
When we show, we need to re-apply any existing rotation (in case
monitor is uncloned).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81113
specified in xorg (ie: blank setup). We will detect (manually) what is
cloned and setup accordingly. (NB: Still needs work).
Add function to find a monitor based on crtc id (used for blank setup
clones).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81111
When we unclone a monitor (on initial startup), if it has not been
manually placed yet, use the crtc geometry for position & size.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81110
Modify widget creation to use randr layout size function:
NB: Needed because we cannot rely on E_RANDR_12->current_size to
provide us with something usable.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81108
Add functions to return randr widget changed state.
Add function to randr widget so we can apply changes.
Add single randr_changed_set function (reduce duplicated code).
Use E_INSIDE to determine cloning.
Remove some printfs.
Call randr_changed_set where needed.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81105
Record monitor's current geometry when move starts (so if we unclone
we can restore the position).
Port Raster's mouse pointer changes to new dialog :)
Fix refresh_rate fill function to take the monitor object (needed so
we can raise changed signal).
Add functions for getting the "current" information from the monitor
object (Used during apply).
Fix up swallowing and unswallowing of clones so that they restore
to the original position (before cloning).
Fix up smart move & resize function to not apply map if not visible.
Use a single "map_apply" function (reduce duplicated code).
Hook into radio changed (refresh rate) so we can send the changed
signal.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81102