When we are creating the monitors, account for 'possible' outputs also.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84198
Add grid object to structure.
Add callbacks to handle when grid gets moved or resized so we can
update the monitor's copy of the grid geometry.
Update calls to monitor_grid_set to pass in geometry now.
Add monitor_virtual_size_set call.
Add code to deal with grid getting moved & resized.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84171
Use ecore_x_randr functions to get crtcs & outputs (Fixes problem of
running Screen Setup dialog in Xephyr)
Add code for min_size_get function.
Remove code which used e_layout widget.
Add code to create new randr widget based on evas_object_grid.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84150
- Create monitor smart object
- Set crtc and output config for monitor.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 84131
actual canvas geometry when doing collision detection.
Port the previous "JackDanielz" fix (using frame geometry vs using
object geometry) to the actual move function also.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 82868
determine collision/intersection for cloning reasons (needed due to
monitor object itself having some padding around the frame which was
causing erroneous intersection calculations).
NB: Calling this one the JackDanielZ fix ;)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 82867
position, not size for comparison.
When we create monitors, assign the proper crtc to the monitor.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 82330
If we are trying to add a disabled monitor, check for possible outputs.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81368
If during the process of monitor creation, we reach one that is
cloned into a parent monitor, but the parent monitor has not been
created yet, then add it to a deferred list so we can create it (and
swallow it) into the parent monitor.
Make use of the existing e randr serialization to save/restore settings.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81255
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
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
NB: Still not 100%. There are some corner cases where things fall
through :( If someone wants to jump in and help finish this off, that
would be great :) It's very close to being done.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 78186
Rework the "changed" code so that now Apply will enable/disable
correctly based on what changes are in the monitors.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 77873