Commit Graph

15658 Commits

Author SHA1 Message Date
Chris Michael 7d190c4918 Backport: 57a3a62 :: When we try to re-enable a monitor, check the Crtc Mode (not the smart object Current mode) to determine if it is already disabled.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-08-19 05:34:27 -04:00
Chris Michael 0d83892949 Backport: b6fe0c8 :: Don't do randr restore if we have fake screens. (requested by release master) ;)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-08-19 05:34:27 -04:00
Mike Blumenkrantz 3e081a2432 Backport: e4f4a29 :: +e_xinerama_fake_screens_exist
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-08-19 05:34:27 -04:00
Eduardo Lima (Etrunko) 454003d820 0.17.4 release
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-08-02 14:33:42 -03:00
Chris Michael f15b2eda9d Backport: 112a409 :: When we have to calculate screen size, it May actually Help to get the crtc id that we need to fetch values for.
NB: Phab Ticket T258

NB: /me slaps self

Signed-off-by: Chris Michael <devilhorns@comcast.net>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-08-02 12:17:45 -04:00
Chris Michael 455fe96f66 Backport: a7200ae :: Only create primary output frame if we have more than one monitor to choose from.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-08-02 12:17:12 -04:00
Chris Michael 628bcc0280 Backport: 6d3751a :: Remove duplicated local variable.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-08-02 10:45:25 -04:00
Chris Michael be9e1d24b5 Backport: a39246c :: Remove return value in function returning void.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-08-02 10:45:05 -04:00
Chris Michael aae26dbf64 Backport: c32f155 :: Add a disabled state to the indicator event rectangle
NB: This is so that the indicator mouse events can be disabled, thus
not allowing Silly people to turn off their Only single monitor.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-08-02 10:44:38 -04:00
Chris Michael 9566fe746e Backport: c48e7d2 :: When we have finished creating all monitors, if there is only One monitor existing, then disable the ability to toggle the indicator.
NB: This is for silly people who (for whatever reason) decide that
it's a good idea to try and turn off their Only monitor.

NB: Fixes Phab Ticket T257

Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-08-02 10:44:12 -04:00
Chris Michael e998dc38cf Backport: 9046a6b :: Add function to allow disable/enable of the indicator toggle.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-08-02 10:43:46 -04:00
Chris Michael 4f4f0c04b3 Backport: 1aa4f1e :: Add function prototype for disable/enable of the toggle indicator.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-08-02 10:43:08 -04:00
Carsten Haitzler 75c2ab58a3 enlarge taskbar buttons a bit so those with 24px shelves.. can use
them. :)
2013-08-01 15:05:00 -03:00
Deon Thomas 5bcf144064 Revert: removed ECORE_VERSION_MAJOR/MINOR #if statement since all the new ecore_randr code has been backported to ecore 1.7.7+ 2013-08-01 12:06:21 -04:00
Deon Thomas 7c8e3d8e31 removed ECORE_VERSION_MAJOR/MINOR #if statement since all the new ecore_randr code has been backported to ecore 1.7.7+ 2013-08-01 11:56:32 -04:00
Chris Michael fa97eba302 Backport: e2cf7d3 :: Handle case of snapping for monitor being moved.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-08-01 11:49:57 -04:00
Chris Michael bfc9f1e7b1 Backport: 3f2e850 :: Big giant Monitor Snapping Fix when we resize or move !! ;)
- Add previous monitor geometry to smart data structure.
- When we set the crtc, also set the monitor current geometry.
- Add function to return the previous monitor geometry.
- On a mouse up, check for monitor location difference versus previous
geometry, if nothing changed then we have no 'move' to do.
- When we start a resize, record the previous geometry and raise the
monitor.
- When a monitor is moved/resized we call the position_update function
which already loops all monitors, so no need to loop them twice.
- Fix position_update function to allow some Snapping Fuzziness so
that on a move/resize any adjoining monitors (within tolerance) will
more reliably snap to each other.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-08-01 11:49:23 -04:00
Chris Michael f0f7f8f4de Backport: d2a0e36 :: Add function prototype for returning previous geometry.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-08-01 11:49:01 -04:00
Chris Michael 39587299c2 Backport: b0e3605 :: Implement rudamentary monitor snapping after move.
After a monitor has been moved, snap it to the closest monitor.

NB: This should fix cases where a monitor could not be positioned next
to another monitor which had a resolution of 1368. Previously, the
second monitor could only move to 1366 due to a rounding issue when
converting coordinates to virtual. Now, the second monitor (when
finished moving) will Snap to the proper position.

NB: (Currently) In order for the snapping to work, either the
monitors' X axis or Y axis must be equal. Ideally, this should be
fixed to allow for some percentage of position flexibility.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-08-01 11:47:43 -04:00
maxerba 75d1a637dc updating desktop files 2013-07-31 13:17:04 +02:00
maxerba 18c9d84fe8 updating french translation 2013-07-31 13:15:31 +02:00
Chris Michael 4b5defdd2c Backport: 5fecc20 :: When we are re-enabling a monitor, do not free the mode info from the smart data's list of modes. This will get freed when the dialog closes.
Fix some formatting for 80 columns.

NB: Should fix etrunko crash ;)

Signed-off-by: Chris Michael <devilhorns@comcast.net>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-07-29 18:00:33 -04:00
Chris Michael 3d26cd06e6 Backport: a12ae8b :: Properly check for primary output during new configurations.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-07-29 18:00:33 -04:00
maxerba e22a6685d3 Adding serbian localization in desktop files 2013-07-08 13:37:23 +02:00
maxerba 41f7acf8a6 Fixed sorting in desktop files 2013-07-04 20:12:50 +02:00
maxerba ae01d44d6c updating italian translation 2013-07-02 19:27:13 +02:00
maxerba 1f723d2f0e updating esperanto and french translations 2013-07-02 19:12:39 +02:00
maxerba cbec7f47b8 updating desktop files with esperanto and french translations 2013-07-02 17:13:21 +02:00
Deon Thomas 6dc3aab009 Update changelog to show devilhorns changes 2013-06-28 17:51:31 -04:00
Chris Michael ee44bcda90 Backport: 0537494 :: Fix issue of incorrect x/y position being displayed on a monitor after snapping.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 11:24:51 -04:00
Chris Michael 5e9323bf7d Backport: 7955818 :: Add randr theme support for primary outputs
NB: Someone may want to retheme this....

Signed-off-by: Chris Michael <devilhorns@comcast.net>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:54 -04:00
Christopher Michael d7d914cb72 Backport: 23a8170 :: Fix cloning box to now be over the indicator event rect.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84209
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:54 -04:00
Christopher Michael 2ac021ae1c Backport: f7defbd :: Color the clip of the frame when monitor is disabled to provide more visual indication.
NB: Someone may want to tweak the color used here ;)

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84205
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Christopher Michael c95298713b Backport: 8f0367d :: Rename monitor name style
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84204
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Christopher Michael d47839c9d0 Backport: aa74a39 :: Fix grid offset
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84189
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Christopher Michael 7dbd8b4177 Backport: 3920734 :: Create new randr widget group (for the main randr widget) and give it an "inset" look like the wallpaper preview widget.
NB: This probably could have been aliased to the wallpaper preview
widget but is separate right now in case the boss wants to change it ;)

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84144
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Christopher Michael 24603c1ee0 Backport: f47f526 :: Add monitor position text for the monitor object.
NB: Raster, You may want to recolor or retheme this

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 82886
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Christopher Michael ef6583b7bc Backport: a654fac :: Add position text to monitor.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 82885
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Deon Thomas e5164aa076 removed requirment for EFL 1.8 since randr code is backparted to ecore 1.7.7+ 2013-06-28 03:28:53 -04:00
Chris Michael b80fd54f7f Backport: fa9104b :: bugfix T86: If an output does not have a crtc, find a possible one. If it has no mode set yet, then we try to get the preferred mode. If that fails we will try the crtc size, if That fails we will fallback to a safe 640x480. When getting preferred size, if the output does not specifiy a preferred mode (but does list availabe modes), then we will assume the largest size.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Chris Michael 1482c7e7e8 Backport: b4f277a :: When we free outputs, set the variable to NULL.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Chris Michael a3990e5108 Backport: bba201a :: If a monitor is disabled by the user, then we need to set number of outputs to zero, and free any allocated outputs before trying to apply settings.
Also, check for valid mode (not 0) before trying to fetch mode_info.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Mike Blumenkrantz 9170ac74dc Backport: 0dd2efa :: ensure randr dialog clears its pointer stack
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Chris Michael e2dc213609 Backport: ee715e2 :: Fix possible memory leak reported by klockwork.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Chris Michael c45ebc84c9 Backport: 1b76632 :: Add suport for setting the Primary Output in the randr dialog....for my German friend ;)
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Chris Michael 5c49020e46 Backport: d6a392d :: Preliminary support for Primary Output of XRandR
NB: If you have more than one output, XRandR has the option/support to
set a specific monitor as the primary output. These changes allow some
distinction in the dialog between which output is primary (a faint
glow around the monitor). This is just the "display" portion of
Primary Output support ... next is a method to Change that.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Chris Michael 42c22c8c6a Backport: a019ffb :: Fix another memleak reported by klockwork.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Chris Michael 162c86ce55 Backport: 10acf59 :: Fix potential memleaks reported by klockwork.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Chris Michael 60da535deb Backport: 2babd46 :: printf--
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:53 -04:00
Chris Michael d8a1f8f933 Backport: dc3c16c :: Fix randr dialog to display monitors that are disabled. Add function to get a monitor's preferred mode size. Add function to find any clones of a monitor. Add function to find a valid crtc for an output
NB: Raster, this should fix your reported problem ;)

Signed-off-by: Chris Michael <devilhorns@comcast.net>
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
2013-06-28 03:28:52 -04:00