Commit Graph

12945 Commits

Author SHA1 Message Date
Marcel Hollerbach d28c105c99 e_main: shutdown e_dnd before comp
otherwise we are crashing as e_comp is freed by that time.
2021-11-02 17:43:11 +01:00
Carsten Haitzler 3bfb563679 paledit - add undo/redo with escape as undo
now you can rescue yourself from badness...
2021-11-01 12:49:59 +00:00
Carsten Haitzler c3189d60e7 paledit - add a bunch of tooltips to help the UI 2021-10-31 18:49:43 +00:00
Carsten Haitzler 1166e4e7ed paledit - make del button become reset if there is a shadow sys pal 2021-10-31 18:24:48 +00:00
Carsten Haitzler 921e379155 paledit - use new api's to list available cc's
this makes paledit friendlier

still things to do:

1. reset a palette (rm the user copy)
2. undo/redo
3. tooltips
2021-10-31 11:46:31 +00:00
Marcel Hollerbach 28b0ce28ac e_bindings: do not crash when action is not found 2021-10-17 10:43:30 +02:00
Carsten Haitzler b8dacd7087 e exec recent files - filter out files that don't exist at some points
if files do not exist anymore, then filter them out.
2021-10-15 20:18:01 +01:00
Carsten Haitzler c63b005b92 e - exec - recent - fix loading of prevous recent data on append first 2021-10-15 08:56:29 +01:00
Carsten Haitzler 8b16ea75a0 efm - add a rfecent files menu (up to 30) wirth minimal mime icons
efm now tracks the most recent 30 files opened with timestamps in
100th of a second and a menu with these recent files under
main menu -> navigate ... the icons are plain mime type icons and not
thumbnails as the efm code isnmt really usafle to create icons in
menus without a lot of work. something to keep in mind for the redo of
efm... :)

at least you can easily access recently opened files with efm now :)

@feat
2021-10-09 11:59:59 +01:00
Carsten Haitzler c7999bb789 protect against possible junk fullscreen windows in list 2021-10-04 13:35:08 +01:00
Carsten Haitzler 32255d0122 e - fix a null csd property on a ssd x win - new chrome does odd things
new chrome versions now set a CSd gtk property of 0 0 0 0 on
windows.... but set it later on thus confusing e into seeing
information changes for csd frame insets for a window that has no csd
frame but is ssd! this drops into a logic hole of "this shouldn't
happen" and weird stuff does happen. avoid this weirdness and just
assume a ssd window as normal then.

@fix
2021-09-23 12:51:48 +01:00
Carsten Haitzler c9070fc03f add details to error complaint of setting csd frame on ssd win 2021-09-23 12:50:37 +01:00
Carsten Haitzler 4cd3bb45c4 convert a whole lot of CRIs to ERRs that will not be useful with aborts 2021-09-12 09:14:42 +01:00
Carsten Haitzler 5d3f6ad594 e utils - delayed dia del - try avoid multiple entries 2021-09-06 17:09:14 +01:00
Carsten Haitzler 59753eab23 e util - set idler to null first in case some del func hook adds it back 2021-09-06 08:28:01 +01:00
Carsten Haitzler 8095472f5d e util - fix leak - someone forgot to free their iterator 2021-09-06 08:28:01 +01:00
Carsten Haitzler 3e691525eb e util - handle empty array when clearing out the current dialog
missed having no array...
2021-09-06 08:28:01 +01:00
Carsten Haitzler 47aaa31886 e utils - ensure the delays dialog array does not have refs to freed dia 2021-09-05 19:25:24 +01:00
Carsten Haitzler 02ab631524 randr - use new refrsh api to work around server-side problems
in some situations the xserver randr driver doesn't refresh edid's on
its own. it should, but doesn't. for example - optmus setups. this
seems to fix it. works around that.

@fix
2021-09-03 09:10:17 +01:00
Carsten Haitzler 45938e3b48 e - fix dont blank with fs windows when a fs window exits 2021-08-20 12:17:06 +01:00
Carsten Haitzler 0bd602b7ed check glapi better and report errors sensibly if it fails init 2021-08-05 14:14:31 +01:00
Carsten Haitzler a4626f87fd randr - allow custom names for screen (not output but model) 2021-07-22 10:56:02 +01:00
Carsten Haitzler a5efea6b52 askpass - pretty up a bit 2021-07-21 11:07:58 +01:00
Carsten Haitzler ce933dd5c1 efm - fix exif data parse - do by hand because sscanf is stupid
:)
2021-07-14 17:35:47 +01:00
Carsten Haitzler 571a188eb0 client list - other prop - not just stacking, keep internal wins out 2021-07-13 20:05:05 +01:00
Carsten Haitzler b2e79f46c8 e - netwm - dont include intnernal marker layer clients in clients prop 2021-07-13 19:53:44 +01:00
Carsten Haitzler 32e2825e93 auth - fprint - support any finger for auth instead of just first one 2021-07-07 13:12:27 +01:00
Carsten Haitzler 28a43e0e7c auth - fprint - handle no finger reg and use default right index 2021-07-06 22:54:53 +01:00
Carsten Haitzler 32d642d338 system ddc - more of a delay at start after modprobe
it seems on starts while xrandr is busy talking to screens sometiems
one of my screens doesnt respond... unless we wait a bit. so .. wait
more.
2021-07-04 12:34:58 +01:00
Carsten Haitzler a197e3c1db ddc - support latest major version 2021-07-04 10:06:13 +01:00
Carsten Haitzler 2fbbb52f94 auth - fprint - only start after verify stop done 2021-07-03 00:18:42 +01:00
Carsten Haitzler 1cf5595208 auth and desklock - support auth by fingerprint and show status 2021-07-02 13:26:05 +01:00
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
Carsten Haitzler 808f15957b check return of system ... less warnings 2021-05-20 13:44:48 +01:00
Carsten Haitzler 883cf23ceb move a bunch of public runnable tools into src/bin/tools 2021-05-19 18:35:51 +01:00
Carsten Haitzler eb9f23979b provide more info when dbus error on e_filemanager is run
alos paledit now is enlightenment_paledit
2021-05-19 18:34:23 +01:00
maxerba ae85482ab0 fix typo in desktop file and update french and italian translations 2021-05-19 14:28:26 +02:00
Carsten Haitzler 9243554dd8 pager - allow pager popup action to stay up and dnd windows 2021-05-18 12:14:28 +01:00
Carsten Haitzler b94fe921a0 paledit - make copy and new actually work... 2021-05-17 00:28:28 +01:00
Carsten Haitzler 96e7e42fbb fps debug - slim code a bit and order events so they do go up and right 2021-05-16 18:36:30 +01:00
Carsten Haitzler e6b544a7ef e comp and actually 0.5 delay is .. better...
debug just was noisy .. but more now
2021-05-16 15:29:01 +01:00
Carsten Haitzler d61c69a357 comp debug - go back to no delay for comp anim plus more fps debug 2021-05-16 15:26:07 +01:00
Carsten Haitzler 15e395b88e blanking - fiddling with it to try find a vbox bug... fix some things
make dpms delay longer - 10 sec.
force pointers to not render if comp not rendering
nuke open menus on blank
remove unused vars
2021-05-12 23:13:16 +01:00
Carsten Haitzler aa10dede13 comp - stop playing with frametime as ... we are getting it wrong
also doesnt work with vsync on which is most of the time...
2021-05-12 19:47:38 +01:00
Carsten Haitzler 4c6248324b paledit - silence warning about alignment - it's fine
the pointers we get are aligned and the strides will be too as a
result so this is a bogus warning in this case.
2021-05-12 12:06:11 +01:00
Carsten Haitzler 24840b2f6b e - paledit - add palette editor tool 2021-05-11 19:44:38 +01:00
Carsten Haitzler bc8a4f9a89 e - wl - fix re-adding wl listener twice to the same list
this causes calling the same cb multiple times and this causes mayhem.
fix.
2021-05-11 03:33:42 +00:00
Carsten Haitzler fe499cecff e actions - cast to avoid alignment warning that is not needed 2021-05-10 16:25:27 +01:00
José Romildo Malaquias d936eb7059 actions: Simplify the 'Grow in Direction...' action
Summary: @fix

Reviewers: devilhorns

Subscribers: cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D12266
2021-05-08 11:42:37 +01:00
Carsten Haitzler 3faf1a4627 move to eina's new fnmatch 2021-05-03 20:59:27 +01:00
José Romildo Malaquias 835221e29a actions: Add 'Grow in Direction...' action
Summary:
Add an action to grow a window until it touches the nearest edge in
the direction specified. Edges are the outer edges of other windows,
or the desktop boundaries.
@feature

Reviewers: devilhorns, raster

Subscribers: cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D12260
2021-05-03 20:49:13 +01:00
Carsten Haitzler 69bbc08449 efm - look for exif tags in other chunks too 2021-04-29 13:45:16 +01:00
Carsten Haitzler ea14bdf0d7 e blanking - only us iconic, not hidden when blanked
this is enough and doesnt now interfere with hidden state when on
other desks.
2021-04-26 09:05:19 +01:00
Carsten Haitzler ab905c599f e comp x - clean up some core removing if 0'd out code and comment some 2021-04-21 13:23:12 +01:00
Carsten Haitzler 4a545f99d9 fix build break - looks like this edit didnt make a commit 2021-04-20 21:58:43 +01:00
Carsten Haitzler 3112e2ba1a e - restore iconified windows on restart to iconified 2021-04-20 20:06:08 +01:00
Carsten Haitzler 403435f9fd blanking - when screen blanks (pwsave freeze) set windows to iconic
also make them hidden too for good measure. this causes many clients
to stop rendering. saves power and useless cycles drawing stuff you
can't see.
2021-04-20 19:03:02 +01:00
Carsten Haitzler 1df6c16fc3 backlight - stop being noisy in debug - hard to debug other things 2021-04-20 18:57:46 +01:00
Carsten Haitzler 502a03fd3e x input devices - have config apply when you hit apply not just on start 2021-04-16 15:53:21 +01:00
Carsten Haitzler d96c75b8d5 e - wl - fix buffer referencing to not have junk on surface del
we were losing refs to buffers when clients quit and surface were
deleted thus causing junk and errors in binding these now deleted
buffers as fds now were invalid. keep them around longer until hide
anim is done. this is callback-hell...

@fix
2021-04-16 03:27:11 +00:00
Carsten Haitzler 0e0d80159e fix restarts with windows with hideen state win hints
this fixes the previous commit
42cc4e8c16 ith retarts and windows on
other desktops
2021-04-13 18:05:59 +01:00
Carsten Haitzler 42cc4e8c16 e x netwm - set _NET_WM_STATE_HIDDE when win hidden
this can serve as a market - irrespective of icccm state that the
window is not visible. still - some apps like chrome/chromium. set
this so they are happier but this has side-ffects which are
client-local problems.

fixes T8923 ... i hope (seems to). ... but with side effects

@fix
2021-04-12 16:02:06 +01:00
Carsten Haitzler 11065a905c e - fix restore of window visiblity and events on e restarts
you no longer have to cycle virtual desks to fix window events. this
fixes that.

@fix
2021-04-12 16:01:20 +01:00
Carsten Haitzler 2fa0181286 gesture - ifdef eplut after include e.h 2021-04-12 13:56:50 +01:00
Alastair Poole e1eed5190b freebsd: make elput optional. 2021-04-12 12:47:27 +01:00
Carsten Haitzler 56d2cdc294 build - find environe and build when found
meson didnt look for environ thus it was never found and defined. this
is a fallback for having no clearenv() so essentially no os work
talking about is in this situation anymore.
2021-04-12 11:05:23 +01:00
Carsten Haitzler 7e02c59a43 e startup - nuke some code that eina takes care of
eina has eina_convert_strtod_c() which ignores locale... so use that
instead of a workaround.
2021-04-12 11:05:23 +01:00
Carsten Haitzler f9607a9084 mod bz5 - fix hw that comes with bt rfkill on and bz adapters empty
so - it seems on some hardware and./or os combinations the list of bt
adapters is empty from bluez5 entirely if the adapter is rfkilled off.
this means e doesnt see it at all - has no idea it's there. bz doesnt
expose it. without that we can't turn it on even. so - if our bt
adapter list is empty, then assume this is an error and manually list
rfkillable devines and forcibly unblock them ot make them appear in
bulez5... not so much a bug fix as a system brokenness workaround with
bz5 just ignoring rfkill bnlocked devices and not even telling us
about them.

@fix
2021-04-12 11:05:23 +01:00
Carsten Haitzler f8721df53a e client - override - stack above fullscreen
popup menus for fs apps would otherwise disappear.

@fix
2021-04-06 15:35:16 +01:00
Marcel Hollerbach 424a6a1930 move gesture recognition to e itself 2021-04-05 20:41:55 +02:00
Carsten Haitzler 0187eb5fe6 winlist - add list window miniatures option you can turn off 2021-04-04 12:50:24 +01:00
Carsten Haitzler a9890ce7b6 expose dither option for comp - on by default 2021-04-03 21:42:38 +01:00
Marcel Hollerbach ed5dcfbd60 gesture_recognition: Rework to use elput
With this:
- Support for gestures in X *and* wayland. Wayland does not require the
  libinput group hack
- Hotplugging support thanks to udev support

This requires a new rebuild of efl.
2021-04-01 15:15:11 +02:00
Alastair Poole c077e3dc33 e_start: Fix typo in error string. 2021-03-31 19:20:35 +01:00
Carsten Haitzler a51f226d09 conf and other toolbar/list icons - go up to 40 by default 2021-03-28 22:16:05 +01:00
Carsten Haitzler c50eec9d81 e - comp - wl - fix garbage pixles on rpi4 - properly do fmts/mods
we didnt properly do formats/modifiers. this meant that qwhen
something like the rpi4 started using interesting ones we ended up
with garbage pixels. this fixes that - uses new evas gl feature so
will need efl git master and eventiually efl 1.26 (already do anyway)

@fix
2021-03-26 20:36:03 +00:00
Carsten Haitzler 12853a3bab COMP - log if comp goes on or off 2021-03-18 11:21:31 +00:00
Carsten Haitzler 5b48077b19 comp - fps debug - dont use null pixel ptrs for debug data
@fix
2021-03-12 16:10:26 +00:00
Carsten Haitzler 10ac9fb327 e - add exif as dependency and option for efm file props 2021-03-10 10:06:53 +00:00
Carsten Haitzler 7ca3f8f612 efm - option for display of dates explicitly and not in nice-human form 2021-03-10 10:06:53 +00:00
Carsten Haitzler b288373ee6 efm - rename - select all up to the first dot so extension stays 2021-03-10 10:06:53 +00:00
Carsten Haitzler 8ebe1ab017 comp obj - make sure icon is shown when swallowed 2021-03-04 09:46:05 +00:00
Carsten Haitzler b744cd6d44 client - make default icon size for clients 128x128 now. 2021-03-04 09:17:56 +00:00
Carsten Haitzler 977cbc59b8 cpufreq - fix up some ugly bugs in a move to powersave
not setting right governor from menu, not updating the state after a
change ....

@fix
2021-03-03 13:58:11 +00:00
Christopher Michael 14d359e11d enlightenment: Remove teamwork protocol
The teamwork module has been removed for a while so there is no need
to have a protocol file either
2021-03-01 11:18:25 -05:00
Christopher Michael 8fd255c45c e_comp_wl: Remove wayland wobbly windows stuffs
This never worked properly, is unsupported by upstream wayland, and
just general clutter so let's remove it. There are no plans to support
this and is just extra overhead...
2021-03-01 10:35:15 -05:00
Christopher Michael e0672775f2 generated: Remove www xml file 2021-03-01 10:35:02 -05:00
Carsten Haitzler 92700403f7 e auth - allow empty password users to auth successfully 2021-02-27 18:18:34 +00:00
Carsten Haitzler ec4d9d0460 set XDG_CURRENT_DESKTOP too in addition to DESKTOP 2021-02-25 12:37:00 +00:00
Carsten Haitzler 089b0860b4 efm syncing - maybe a bit less agressive at every 0.5 sec or 5mb... 2021-02-14 10:40:06 +00:00
Alastair Poole 47712617fc efm: syncfs is linux-only. 2021-02-10 12:33:03 +00:00
Carsten Haitzler 15e1519d64 efm - sync much more often to avoid hangs/stalls with lots of data
do big ops like big copies of 3 or 5gb files over to an nfs mount or a
slow thumbdrive... the os can happily store it all in RAM. but then
any stats on that file still being flushed stall - definitely on nfs.
this leads to much badness. so sync ever 0.2 sec OR every 512k worth
of writes to stay interactive. it's a big worse for perf and maybe a
bit worse on wear but it's far more usable.

@opt
2021-02-09 13:25:13 +00:00
Carsten Haitzler c87f2f2ecc resume - in x11 - force screensaver to reset as on some systems it doesnt
@fix
2021-02-09 13:23:39 +00:00
Carsten Haitzler 721d39c100 win layers - stop allowing top windows to go above popups like winlist
@fix
2021-02-09 13:23:10 +00:00
Alastair Poole ac52e6e08a e_system: Add missing FreeBSD version check. 2021-02-04 10:27:01 +00:00
Alastair Poole 8629f7e735 backlight: Add support for FreeBSD 13
Initial backlight support.
2021-02-04 10:12:53 +00:00
Carsten Haitzler 140b8af043 e - set vsync frame delay to 0.5 to be offset against other clients 2021-02-01 18:08:06 +00:00
Carsten Haitzler a92840b13f work around clients like firefox with csd and broken iconify logic
so simple version: if firefox does CSD then when u press its minimize
(iconify) button it ASSUMES it will be iconified. it ASSUMES WM_STATE
will transition to iconic annd then back. it will cease rendering lots
of things when it thinks it is iconified when it isn't - e was
refusing because e wants windows tyo stay with live content so in ibar
and winlist and so on they keep showing updates). this assumption that
a wm will always iconify you when asked is wrong. a wm can refuse. so
basically firefox is brokne in its assumptions and logic. so work
around it but this leads to other fun things like clients stopping
rendering when iconified... as they now are told theya have been
iconified.
2021-02-01 18:08:06 +00:00
Carsten Haitzler 7d2be9edcc zone - on free - dont del things we may later access during free
del them after we might access them... :) fix seg.
@fix
2021-02-01 18:08:06 +00:00
Alastair Poole 0c78745c6b e_pointer: cursor reset in screensaver cb.
This fixes an outstanding issue with the cursor on resize window
handle when the idle timer is triggered.
2021-01-28 08:46:25 +00:00
Alastair Poole 68d57986aa e_comp_object: Border mirror shading fix.
If the e client is shaded, ensure we send the correct signal to the
frame object used with our bordered preview.
2021-01-25 20:19:43 +00:00
Christopher Michael 1eddc93943 e_pointer: Reset mouse pointer when we return from blanking or desklock
This should fix the issue of mouse pointer getting stuck in
move/resize mode if mouse over move/resize area when desklock or
blanking kicks in
2021-01-21 12:07:15 -05:00
Christopher Michael 6f1d88128e e_actions: Minor formatting fix
NB: No functional changes
2021-01-21 10:31:30 -05:00
Christopher Michael 3f2ddb4d1e e_actions: Add ability to switch Config Profiles via keybinding 2021-01-20 14:49:19 -05:00
Christopher Michael c8c9d0751f e_int_menus: Adjust call to e_shelf_new_dialog to provide NULL parent
(for now)
2021-01-20 12:36:23 -05:00
Christopher Michael 30b17779bd e_fm: Add NULL parent parameter to e_entry_dialog_show call
With the changes to e_entry_dialog now taking a parent param, we need
to adjust function call here
2021-01-20 12:35:20 -05:00
Christopher Michael 945b462135 e_shelf: Add parent parameter to e_shelf_new_dialog
This adds a parent param to e_shelf_new_dialog function so that the
Add Shelf window cannot be closed while Shelf Name dialog is open.
2021-01-20 12:33:56 -05:00
Christopher Michael efb062efe2 e_entry: Rework e_entry dialog to be more sane
This commit fixes an issue where e_entry_dialog would have a giant
entry widget and looked incredibly stupid.

This commit also fixes another issue where it was possible to close the
dialog behind the entry (ie: parent dialog) and the entry dialog would remain
open (eg: Add a shelf, the Shelf Name dialog shows up, and it was possible to
close the Shelf Settings dialog behind it)
2021-01-20 12:27:21 -05:00
Christopher Michael f4e0d7612e desks: Assign some default desktop names
By default, desktops should (realistically) be assigned some form of
name so that they are not blank. This Fixes the issue of no Desktop
labels in the Virtual Desktop menu, and also fixes the issue mentioned
in the below ticket where "Show on Specific Desktop" dialog would not
show any type of description for the desktops when trying to place a
shelf.

NB: Uses the format of Desktop X,Y (ie: Desktop 0,1)

Fixes T8838

@fix
2021-01-19 15:51:12 -05:00
Christopher Michael e45170f27f e_about: Update copyright year
A new year, a new copyright update
2021-01-19 14:57:23 -05:00
Carsten Haitzler 45efe06cda e - force fonts to render clearly with FREETYPE_PROPERTIES set by e
as per comments in commit. force this if you have set_xapp_dpi onwhich
is a sign u want everyone to agree on rendering fonts.
2021-01-18 12:56:24 +00:00
Carsten Haitzler 04a6194e48 watchdog - disable right now as something odd is happening 2021-01-15 12:58:41 +00:00
Carsten Haitzler e6861cae44 shot - make toolset scrollable to allow smaller window 2021-01-10 16:50:03 +00:00
Carsten Haitzler b08ad06ede xsettings - if we set font from e use same size not 0.75 times size
xft.dpi + xsettings dpi should be dealing with this these days
2021-01-08 22:31:11 +00:00
Carsten Haitzler d5658d2190 music control - dont flicker album art on multiple repeated prop changes
when u switch songs with popup the album art flickered on/off a few
times because mnpris props updated multilpe times. this ignores new
art url changes if they are the same file/url to avoid flickers.
2021-01-08 14:04:31 +00:00
Carsten Haitzler ff875f40a6 remove old obsolete systray things as xmbed is long dead 2021-01-07 14:25:08 +00:00
Carsten Haitzler bec15a7932 e icon - handle url's for e icons.
new feature which makes it useful for music-control art url's that are
realurls and not local files.

@feat
2021-01-06 16:56:16 +00:00
Alastair Poole 72e59e29de e_sys_cpufreq: dont send events for fbsd/obsd
On display wake e sys is sending error events to the cpufreq
module creating a confusing popup. pstate and governor are
linux-only.
2021-01-06 00:12:30 +00:00
Carsten Haitzler 19e6a5b7a3 watchdog - dont let mainloop fd handler handle pipe - wait handles it 2021-01-02 16:01:34 +00:00
Carsten Haitzler 347c29b952 watchdog - add a watchdog thread that pings mainloop every 10sec
if the main loop were to hang for some reason, this would detect it,
forcibly exit e and e_start can restart e again so things are working.

@feat
2021-01-02 15:25:02 +00:00
Carsten Haitzler bd69387369 e_start - remove noisy debug that isnt useful 2021-01-01 18:29:06 +00:00
Carsten Haitzler 0f738dad29 powersave - screen power - update sleepers on screen pwr change
i forgot to wake up sleepers on screen powersave change. fix it.
2020-12-14 12:54:05 +00:00
Carsten Haitzler e9037af871 menus - fix position of menus when broiught up with key bindings
on other screens the menus were ... wrong - coords were not right
(previous commit)b ut then scroll-to-fix also moved them badly. this
is now fixed too.

@fix
2020-12-13 22:27:14 +00:00
Carsten Haitzler 2fee308319 e menu acts - get proper mouse coords for eventless menu popup 2020-12-13 13:47:10 +00:00
Carsten Haitzler 42a9389dac config - fix limit range for winlist mode to 0->1 2020-12-10 16:58:00 +00:00
Carsten Haitzler 8d2559463d layout - properly handle raise/lower with next/prev in list check
fixes pager layout sstacking problems i've noticed.

@fix
2020-12-03 14:24:05 +00:00
Carsten Haitzler 09ec2015e9 e backlight - offer suspend api for wl's drm mod to turn on/off 2020-12-02 02:29:27 +00:00
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