Commit Graph

12749 Commits

Author SHA1 Message Date
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