Christopher Michael
66d8162518
Add function prototype for a monitor to apply it's changes.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81160
2012-12-17 15:46:52 +00:00
Christopher Michael
a6d983b1a8
Include private header before public one (without this change, build
...
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
2012-12-17 15:46:50 +00:00
Christopher Michael
407fd760f6
Remove generic EINTERNAL _try_restore_configuration. Combine the code
...
into one e_randr_try_restore_configuration function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81158
2012-12-17 15:46:47 +00:00
Christopher Michael
296a985992
Export the try_restore_configuration function.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81157
2012-12-17 15:46:43 +00:00
Christopher Michael
0744667e74
Use proper function when config gets loaded to try and restore
...
configuration.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81156
2012-12-17 15:46:41 +00:00
Christopher Michael
85de44850b
Include private header After public header.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81155
2012-12-17 15:46:37 +00:00
Christopher Michael
94535beb52
Group EAPI functions together.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81154
2012-12-17 15:46:32 +00:00
Carsten Haitzler
92380c140d
nth from eina list returns data. .not list node...
...
SVN revision: 81153
2012-12-17 15:31:36 +00:00
Stefan Schmidt
f67f82518b
e/randr: Add missing header for distcheck
...
Be nice to devilhors and fix make distcheck for him.
SVN revision: 81150
2012-12-17 14:35:58 +00:00
Christopher Michael
30484c09cf
Fix TODO note for recent Enable/Disable commit.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81149
2012-12-17 14:29:02 +00:00
Christopher Michael
00d5045d27
Move EAPI functions above EINTERN ones.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81148
2012-12-17 14:28:04 +00:00
Christopher Michael
1f13d6d76d
Move EINTERN functions below EAPI exposed functions.
...
Fix formatting.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81147
2012-12-17 14:21:42 +00:00
Christopher Michael
06a76bcb27
Add e_randr_store_configuration function to exposed headers
...
(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
2012-12-17 14:21:39 +00:00
Christopher Michael
d4810be25f
No need for 2 functions which do the same thing (return a new
...
Serialized Setup).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81145
2012-12-17 14:21:35 +00:00
Christopher Michael
507e6a25fb
Fetch all current monitor values once (rather than a fetch for each
...
change).
Add code to apply Disabled/Enabled state.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81140
2012-12-17 13:42:15 +00:00
Christopher Michael
3ba73d30d8
Add function to return current enabled state.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81139
2012-12-17 13:42:12 +00:00
Christopher Michael
cce210cd53
Make randr dialog not resizable.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81138
2012-12-17 13:42:08 +00:00
Christopher Michael
230a80bc2a
Add function prototype for returning enabled state.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81137
2012-12-17 13:42:04 +00:00
Christopher Michael
059d1139fe
Provide method to compute a proper layout size (needed for case of
...
blank config).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81135
2012-12-17 12:55:35 +00:00
Christopher Michael
3f84da5d34
If we unclone (from a blank config) than we need to update the current
...
x/y of the monitor.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81134
2012-12-17 12:55:32 +00:00
Christopher Michael
5016734bc9
Remove comment/todo that does not belong here.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81133
2012-12-17 12:55:29 +00:00
Christopher Michael
e49d7dcad2
Remove blank line.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81132
2012-12-17 12:55:27 +00:00
Christopher Michael
54267c8ad8
Remove dead comment.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81131
2012-12-17 12:55:22 +00:00
Massimo Maiurana
68f40db8a5
updating portuguese translations
...
SVN revision: 81129
2012-12-17 12:31:18 +00:00
Christopher Michael
3c270359ce
Delete any cloned monitors when we delete the main one.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81124
2012-12-17 11:35:16 +00:00
Mike Blumenkrantz
606701ff6c
make e_fm2_device_mount_free() EAPI
...
SVN revision: 81123
2012-12-17 11:34:19 +00:00
Christopher Michael
f224102a0b
Fix "mini clone" movement when a monitor moves.
...
Fix "mini clone" movement when a monitor resizes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81122
2012-12-17 11:30:41 +00:00
Mike Blumenkrantz
b22ac9e803
also automatically show files again if an op fails entirely
...
SVN revision: 81120
2012-12-17 10:59:10 +00:00
Mike Blumenkrantz
7a3a863ea1
fix Navigate menu to function more appropriately with removable media
...
ticket #2000
SVN revision: 81119
2012-12-17 10:55:35 +00:00
Mike Blumenkrantz
567121f44f
only pass clicked item to menu functions if it's something we can navigate in
...
SVN revision: 81118
2012-12-17 10:54:52 +00:00
Christopher Michael
91ddccec87
Fix monitor clone position for the case of "initial blank setup"
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81114
2012-12-17 10:22:01 +00:00
Christopher Michael
b55027332b
Remove some erroneous printfs.
...
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
2012-12-17 10:21:57 +00:00
Christopher Michael
9ec140a681
Add code to start working with no previous config and nothing
...
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
2012-12-17 09:21:08 +00:00
Christopher Michael
fb6c724151
Add some printfs (commented out).
...
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
2012-12-17 09:21:05 +00:00
Christopher Michael
7d6a9cd155
Set randr widget minimum size to proper values.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81109
2012-12-17 09:21:02 +00:00
Christopher Michael
a3cf759911
Add function to randr widget to return the best layout size.
...
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
2012-12-17 09:20:59 +00:00
Christopher Michael
99d170a6a9
Comment out some debugging printfs.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81107
2012-12-17 09:20:56 +00:00
Christopher Michael
fa0264ef5c
Add function to return the list of monitors.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81106
2012-12-17 09:20:53 +00:00
Christopher Michael
2a4d3cb73e
Add smart callback hook for monitor changed.
...
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
2012-12-17 09:20:49 +00:00
Christopher Michael
6e1b9916f3
Add prototypes for randr_changed_get and randr_changes_apply functions.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81104
2012-12-17 09:20:46 +00:00
Christopher Michael
0b31476241
Add prototypes for smart monitor functions.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81103
2012-12-17 09:20:44 +00:00
Christopher Michael
b0d6204b83
Add a clone object (mini to represent this monitor).
...
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
2012-12-17 09:20:41 +00:00
Christopher Michael
6e7b845965
Hook into the randr widget "changed" event.
...
Call the randr widget apply function to handle applying changes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81101
2012-12-17 09:20:38 +00:00
Christopher Michael
513bac3b26
Add a "mini monitor" group which we will use to display a cloned
...
monitor.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81100
2012-12-17 09:20:35 +00:00
Christopher Michael
a9cfffdefa
Remove all references to cloned state and clone programs.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81099
2012-12-17 09:20:33 +00:00
Christopher Michael
fabb16dc8d
Remove cloned signals from main monitor.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81098
2012-12-17 09:20:30 +00:00
Christopher Michael
403e0ed2df
Add a program to catch "uncloned" state so we can return the monitor
...
back to it's starting form.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81097
2012-12-17 09:20:25 +00:00
Christopher Michael
551b576a4b
Don't set mouse pointer to "move" if this is a cloned monitor.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81096
2012-12-17 09:20:17 +00:00
Christopher Michael
690fe7a419
Ignore mouse events on cloned monitors.
...
Ignore resize events on cloned monitors.
Ignore rotate events on cloned monitors.
Don't set the moving flag if this monitor is cloned.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81095
2012-12-17 09:20:13 +00:00
Christopher Michael
a23ebcd608
Introduce new RandR dialog which fixes issues that the past one had.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81094
2012-12-17 09:20:07 +00:00