Commit Graph

12718 Commits

Author SHA1 Message Date
Carsten Haitzler 6d2c0d04e9 wl - remove some old versioning stuff that is not relevant anymore
we need latest efl anyway so... no point having this fluff
2020-12-01 21:21:17 +00:00
Carsten Haitzler ae45fd14c0 backlight - track x11 vt owner ship with root property added for vbox
this allows backlight to veto changes to backlight when the vt is not
owned.

fixes T8862

@fix
2020-12-01 20:27:23 +00:00
Carsten Haitzler 4b87781bae scaling - remove custon x application dpi and move to central scaling
now have a base dpi (75) which is multiplied by the scale factor and
then set in both xft.dpi and xsettings. also a checkbox to turn
setting of this on or off so e can be told to not touch these at all.
2020-11-29 18:52:17 +00:00
Carsten Haitzler d9cffad0f8 whitespace formatting cleanup 2020-11-29 13:30:24 +00:00
Carsten Haitzler 22b4f766b5 e - pointer - fix hot point setting in wl mode
fixes to x .. broke wl. this fixes this to work again.
2020-11-28 19:24:46 +00:00
Carsten Haitzler 31ca5a490e e - be less noisy and dont assum zoomobj is always there
efl nicely skips failure and makes these nops but it does complain -
better to check before doing that.
2020-11-27 10:31:37 +00:00
Carsten Haitzler 281675ee3c comp devices - actually ignore unchanged devices 2020-11-26 19:02:24 +00:00
Carsten Haitzler eeb015c0b9 e comp devices - dont try apply input dev settings if looks the same
if the list of device names is the same with a devices update event
then assume its the same as before and dont go probing all their
properties which takes time and round-trips which is not good.
2020-11-26 18:28:39 +00:00
Carsten Haitzler e87ee674d3 powersave - add getter for screen mode 2020-11-26 09:16:40 +00:00
Carsten Haitzler 99dd752b10 blank+dim+screensave - stop toggling on and off with self-feeding events
separate screen powersave oiut of core so it's used selectively inside
powersave only for now. need api to get it for outside.
2020-11-26 02:45:28 +00:00
Carsten Haitzler c4e76ed593 backlight + ddc - fix and improve several small things
1. use max valu in the get and store it once a get has been done so it
will get backlight level right on unsuaul monitors that do not use
0->100
2. detect as an error dinfing 2 screesn with the same edid and log it
3. use ddca_enable_sleep_suppression() to try speed up things a bit to
sleep less inside ddcutil
2020-11-26 00:38:01 +00:00
Carsten Haitzler f190df472a e pointer limit hot cursors hot spots to bounds and track hot geom
found hot spot was not being tracked right as callbacks for obj moves
arent in sync with getting part geom - so get geom of the swallowed
obj itself. then hot geom is right and the hot limitign ensures a bad
theme design with out of bound hot geom wont lead to bland cursors

@fix
2020-11-25 20:19:35 +00:00
Carsten Haitzler 09f0d52602 e pixmap - dont consider null pixmaps worth making a lot of noise about 2020-11-25 20:19:16 +00:00
Carsten Haitzler 5311687e6d scaling - set Xft.dpi and merge properly with .Xdefaults
this uses new efl functions so ... you need a git efl now (and
eventually 1.26). this sets Xft.dpi to match the xsettings dpi etc.
etc. ... so it all matches up.
2020-11-22 21:31:01 +00:00
Carsten Haitzler be1db92dbb e scaling - set xsettings scalign from core e scale if x xset dpi off
if e' x applications setitnghs (xsettingvs) is off - then just
calculate an xsettings dpi val from core scale. also use randr info
for dpi if possible instead of "core x" and "core wl". wprkds around
broken core dpi in x.
2020-11-22 13:53:29 +00:00
Carsten Haitzler d247868c89 dnd resist - fix missing sque for dist compare and have minimum of 8
if finger size is small... really small, then limit minimum to 8.
2020-11-18 10:53:25 +00:00
Carsten Haitzler d192549e58 deskmirror - handle invalid ptr access (null)
don't crash. survive.
2020-11-18 10:04:17 +00:00
Carsten Haitzler 3793619dae x - input - separate touchpad and mouse settings
you can have different accel for mouse vs touchpad and different
natrual scrolling settings etc. this splits that up.
2020-11-15 23:54:21 +00:00
Carsten Haitzler 0bf06c5e1e x input dev config - go direct to drivers not button mappings
unless. its an old evdev only etc. system - synaptics and libnput can
do thison their own. it's a bit of a mess, but it works.
2020-11-15 16:19:08 +00:00
Carsten Haitzler 05b0ff59a8 x - add xinput device watching and beginnings of configuring them 2020-11-14 20:48:09 +00:00
Carsten Haitzler e5bf0d66eb powersave - document som things and add screen blank override for pwrsv
add a screen power save mode than overrides regular powersave (bug is
subordinat to forced power save).
2020-11-12 15:28:54 +00:00
Carsten Haitzler d2b860702e efm - delete scroll animator when efm view is deleted
i think this was not being deleted... on free of sd view. this should
fix that...

@fix
2020-11-11 00:31:39 +00:00
Carsten Haitzler e8ca66527a e wl - fix randr fully to not even init if managed
@fix
2020-11-10 11:37:09 +00:00
Carsten Haitzler a9a877feca wl x11 - if managed stop randr from doing its thing as it conflicts
randr goes and resizes the e window to mach screen setup - wrong if
managed., so if managed call the new stop which shuts down randr

@fix
2020-11-10 11:17:59 +00:00
Carsten Haitzler dfc83aeb79 winlist - handle size and border/shadow chages on the fly while visible 2020-11-05 19:43:56 +00:00
Carsten Haitzler b36fa0a95c comp obj - fix frame mirror resize handling
i ooopsed and used the wrong obj and didnt del the cb when not needed
anymore. led to errors and slowness later.
2020-11-04 10:09:10 +00:00
Carsten Haitzler 23872e244a winlist - handle todo's like zone del, move/resize, client resize
dot some i's, cross t's
2020-11-03 23:12:29 +00:00
Carsten Haitzler 7f2ea7af8b e winlist - add large mode and deprecate some old condig like geom
this adds a live exposé style set of windows in large mode and 2d
navigation, allows it to stay up so you can bind to a single key or
mouse button to bring up and keep thre unbtil dismissed etc. ... this
requires theme changes and for now these changes have only been added
to the flat theme branch in efl - they will become default in the
future, so dont use this and expect it to work unless you also try the
flat theme default from the flat branch in efl. see
https://phab.enlightenment.org/T6726 for details on that.

this is not complete. it has some TODO items at the top with XXX: but
.. it's good enough now to share.

@feat
2020-11-03 11:20:06 +00:00
Carsten Haitzler 9c116e6bb9 backlight - adjust debug so we get timestamps on bl changes always
was using this to see if these is lagf between wakeup form suspend and
fading the screen in - i see no lag. keep debug here for others to see
and reports what they say
2020-10-19 15:28:04 +01:00
Carsten Haitzler 13a5e58e79 actions - add action to turn blanking on/off
now u can bind something to turn this on (or off). better than
presentation mode
2020-10-15 19:03:40 +01:00
Carsten Haitzler 64c1be2fba e system - fix potential infinite loop with adding handlers
dell handler inside handler func then add a new one ofr the same thing
that does the same thing... infinite loop. only run hanlders after the
loop of hanlders is handled by flagging as just_added and skip those
(removing that flag after handlers list pass).

@fix
2020-10-15 18:16:57 +01:00
Marcel Hollerbach 8826355373 e_shelf: support state changes within the animation
the animation will get inverted now when you move your cursor within the
hide animation into the object again.

This should remove some stuttering that might be visible on your screen.
2020-10-10 15:04:22 +02:00
Carsten Haitzler afb6ea1b22 desklock - remove custom desklock command. solves comment in bug report
fixes T5978
@fix

now you can't make things weird by having an external lock command -
solves that unsolvable race... :) the other iseu i think is not relaed
to e and smellslike old garbage fb content either
xorg/kms/driver/kernel or something - i have seen junk onresume
sometimes but its a fb from like hours ago even so i smell it might be
that. this solves the other issue brought up by not making it possible
2020-10-09 12:25:26 +01:00
Carsten Haitzler 048a40414f remove offline+presentation mode - this has confused people
i've seen various people get confused as to why their screen won't
blank and never heard of anyone using offline mode. i think this can
retire and just disabkling blanking manually or as presentation/media
tools do these days... they ask to suspend screensaver anyway. yes it
also affects notifications - but that is a good question - if you want
these or not? may as well simplify.
2020-10-05 09:20:05 +01:00
Carsten Haitzler f1a15a41db blanking - workaround unknown issue where ss resets to 1sec after resume
trying workaround to fix T8793
@fix
2020-10-04 22:11:13 +01:00
Carsten Haitzler d084520660 renmove srand calls - eina ensures it does that now 2020-10-03 21:00:43 +01:00
Carsten Haitzler 397a58137e e menus - keep parent menu items activated when browsing child items 2020-10-01 17:59:26 +01:00
Carsten Haitzler 308bab6750 e filesel - have files list expand not preview 2020-10-01 11:33:32 +01:00
Carsten Haitzler 3be43c50fe comp - settings - fix advance settings save for comp settings 2020-09-29 10:32:04 +01:00
Alastair Poole 51da79c869 e_gadcon: resolve autoscroll issue.
Autoscroll was working until the client changed dimensions. This
removes a size hint change on the same callback for size hint
changes on the same object.

Ensure container box dimensions reflect the minimum size after
a size hint change on the contained objexct.
2020-09-28 11:26:54 +01:00
Alastair Poole 8ef9a44214 e_client_volume: remove unused object 2020-09-24 00:37:51 +01:00
Alastair Poole af560c6566 procstats: window resource module.
The module sends messages which the theme displays. Thus, the
module requires a theme with an implemented edj script to be
useful.

Currently EFL 1.26 includes a basic text label for this...
Usage is recursive...everything under the window is included.

Rudimentary, as usual...please do something pretty...

RFC. Hopefully I didn't break the universe...again!
2020-09-23 19:57:24 +01:00
Alastair Poole 2c70e9648d xsettings: unbreak config and use standard naming.
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D12150
2020-09-18 10:59:55 -04:00
Alastair Poole 91d98c0183 xsettings: keep the logic "simple".
No need for hook. Wrong use of the API. The widget already does
this when checking various objects.

Set DPI to a default if X application settings enabled else use
the custom DPI.

GTK applications only respect the changes
if they are started when the xsettings is brought up. This is
confusing. Sorry for the noise :(
2020-09-17 19:29:36 +01:00
Alastair Poole 1183f221cc xsettings: restore DPI on X settings disable. 2020-09-17 17:45:45 +01:00
Christopher Michael 9adfc913e4 e_utils: Increase tmpbuf allocated size
Increase size of allocated tmpbuf in order to eliminate compiler
warnings in regard to truncated strings
2020-09-17 12:18:37 -04:00
Christopher Michael 43035f34f7 e_module: Increase 'body' buffer size
Increase size of body text to eliminate compiler warnings about
truncated strings
2020-09-17 12:18:37 -04:00
Christopher Michael 595babc0eb e_intl: Fix formatting
NB: No functional changes
2020-09-17 12:18:37 -04:00
Alastair Poole 9f33fbf62e xsettings: Allow for custom DPI setting.
Until a wayland/X11 solution allow setting a custom DPI in
Settings -> Application Theme -> X Application Settings
2020-09-17 16:50:24 +01:00
Carsten Haitzler d039b53484 e sys babcklight - streamline setting bl_power 2020-09-07 20:24:57 +01:00