Marcel Hollerbach
e7781b4b89
e_comp_x: do not display this error a million times
...
once is enough.
2021-06-15 13:16:49 +02:00
Alastair Poole
2027734141
conf_randr: List modes using double scan correctly.
...
As we can detect for double scan (since randr 1.2), list the mode
as valid, and also ensure the refresh rate is displayed correctly.
Each line is rendered twice, doubles the dot clock, so divide the
settings view by 2 so that it makes "sense". Can always add
flags to settings if deemed necessary.
2020-08-15 16:54:22 +01:00
Carsten Haitzler
b55fa736ed
randr - add option to ignore disconnects on specific screens...
...
work around kvm's that like to disconenct screens... be able to force
an ignore on disconnects on specific screens.
2020-06-15 22:27:34 +01:00
Carsten Haitzler
18c522fb24
Revert "e randr - x - only apply/modify randr if xurrent config not the same"
...
This reverts commit cf0a43b844
.
This seems to cause some issues on restore at startup.
2020-06-13 22:56:40 +01:00
Carsten Haitzler
cf0a43b844
e randr - x - only apply/modify randr if xurrent config not the same
...
so if already the same - leave it as-is.
2020-06-07 00:57:13 +01:00
Carsten Haitzler
a018f8273f
e randr x - move pointer to a visible screen coord if outside screens
...
on reconfigure if we find the pointer outside the screen region bounds
it can get caught there until a warp forces it in. this is due to the
barriers i added i think. this fixes that
@fix
2020-05-27 14:17:07 +01:00
Elyes HAOUAS
3524bc167c
tree-wide: get rid of trailing whitespace (part 1)
...
Remove trailing white spaces.
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11780
2020-05-14 12:30:31 +02:00
Elyes HAOUAS
153f479d3f
tree-wide: fix typos all over the place
...
Fix some typos
Differential Revision: https://phab.enlightenment.org/D11778
2020-05-14 12:04:51 +02:00
Carsten Haitzler
21ec506dfd
randr - provide dialog telling the user they have no screens
...
this shouldn't be a state to find yourself in... so let the user know
they are in that broken state with a dialog.
2020-04-22 21:01:38 +01:00
Carsten Haitzler
73e3911874
e randr x - fix mouseto use new ecore x api to force screen bound limits
...
use ecore_x_root_screen_barriers_set() new in efl git, thus bumping to
1.23.99 as a requirement for e.
2020-01-07 14:22:47 +00:00
Carsten Haitzler
3c3e5f3b88
randr - use ints for mode info w/h as we want signed ints for a diff
...
fixes warning too.
2019-08-06 20:55:54 +01:00
Carsten Haitzler
d7b2d6c496
randr - discovered new output names that are display panels in laptops
...
add to the list like lvds, edp etc. ... adding DSI/dsi
2017-07-27 14:30:53 +09:00
Mike Blumenkrantz
48a7181089
add a configurable default policy (default: extend) for screen hotplugging
...
make an effort to "just work" instead of the classic enlightenment ux of being
as annoying as possible
ref T5707
2017-07-21 14:42:29 -04:00
Mike Blumenkrantz
449f12e62f
move x11 randr defines to e_comp_x_randr.c
2017-07-20 17:18:33 -04:00
Mike Blumenkrantz
e33c01cdce
add new explicit method for enabling backlight depending on output type
...
ensure that nested compositors don't mess with backlight
2017-02-24 14:15:38 -05:00
Mike Blumenkrantz
501efaf357
add flag for comp screen iface to indicate relative motion eventing
2017-02-03 15:13:45 -05:00
Derek Foreman
c22c140c2f
Fix zone setup for wayland compositor on X
...
Both the X and WL code try to set up the output pointer for the
zone. Make the WL output take precedence, since it's actually
used for events.
2016-06-24 14:19:36 -05:00
Derek Foreman
11cb74a288
Track X outputs for zones
...
We needed this for wayland, so we add the same tracking for X to be
consistent - though we have no users yet.
2016-06-21 12:33:49 -05:00
Carsten Haitzler
e1369a24bd
per-desk profiles - move to per screen and use elm derived profiles
...
this removes the per desktop profile config and replaces it with a
per-screen one that is tied to a specific display so it is far more
logical than per desktop. this allows e to set up different scaling
per screen for apps that use elementary for example via this derived
profile.
this of course is slightly problematic for e itself since it now uses
elm - as this will cause e to go kind-of-crazy with differing profiles
as it fights with itself and elm if 2 screens have different profiles.
this requires elm to be fixed to allow custom profiles per window.
this also currently won't switch profile of a window when you
reconfigure screens.
@feature
xx
2016-01-08 21:54:31 +09:00
Carsten Haitzler
3c1588efa2
e comp randr support - fix leak of randr info
...
this fixes case where randr info is not freed
@fix
2015-12-07 19:56:13 +09:00
Carsten Haitzler
de269f4711
e randr - fix silent free of data behind randr's back
...
this fixes a bizarrre issue that valgrind reported that has the
strings we malloc and fill somehow being freed by xlib. totally didn't
make sense. either way, a workaround here is to strdup them
immediately and free the tmp copy and oddly the bug doesn't happen.
this is very odd.
@fix
2015-12-07 19:56:06 +09:00
Chris Michael
d72af795ad
enlightenment: Use 'fabs' to get absolute value of floating point types
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-10-14 10:28:38 -04:00
Mike Blumenkrantz
a99bc68baa
enable depth+stencil bits for x11 gl compositor canvas creation
2015-09-17 16:54:00 -04:00
Chris Michael
0a94e8ba71
enlightenment: Make E build again with EFL from git
...
sed -i 's/EAPI/E_API/g'
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz
a4ea6e7f23
add a small screen management interface to E_Comp, remove hardcoded x11 randr calls
...
this interface is extremely basic and should allow easy additions for other display
backends
2015-04-22 21:19:00 -04:00
Mike Blumenkrantz
8c6ec83e43
break out comp_x gl/sw canvas creation into external function
2015-04-22 21:18:53 -04:00
Mike Blumenkrantz
881e0ab805
move all x11-related randr code into e_comp_x_randr.c
2015-04-22 16:16:05 -04:00