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
of them in the layout and thus causes problems when we Apply these
changes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 77720
resize or rotate a given monitor so that the position of any adjacent
monitors gets updated. Currently works when resizing or rotating.
SVN revision: 77315
monitor gets resized, so that we update the visual layout
appropriately. Also, do not raise "monitor_moved" callback for every
little move, rather wait until the move is finished and raise the
callback once.
NB: The "monitor_moved" callback frequency may change in the future.
SVN revision: 77265
NB: IT IS NOT COMPLETE, DOES NOT APPLY SETTINGS, AND STILL NEEDS LOTS
OF WORK. Don't bother reporting bugs for it just yet, until it is
fully functional. Just adding it to svn in the hopes (hahahaha) that
others may want to jump in and help speed things along.
SVN revision: 77140