Commit Graph

21173 Commits

Author SHA1 Message Date
Alastair Poole 0fc17828f6 procstats: fix popup state on maximize/unmaximize 2022-03-08 10:51:21 +00:00
Carsten Haitzler 9e23feb482 comp - fix event shape to account for txt/texblock and img properly
2022-03-08 01:30:57 +00:00
Carsten Haitzler 6bdd1abbe2 comp - fix shapoe event to skip clippers 2022-03-08 01:30:57 +00:00
Simon Lees 3331e87184 Tasks: choose a readable default preview size.
The preview at 32px is practically unreadable 240px is probably
a much more sensible default value
2022-03-04 19:11:15 +10:30
Carsten Haitzler 6dac5c5cd0 remove unused var. 2022-03-02 11:44:02 +00:00
maxerba d61b06aa77 Updating french and italian translations 2022-02-25 14:28:52 +01:00
Carsten Haitzler fd7b1e4b37 overlay resize regions - properly sety shape rects to account for them
e didn't set shape rects for input overflow areas for the resize
handles in theme to work on top of other clients and client areas.
this should make that all work now and make the resize handle area
bigger than it actually looks.

2022-02-24 18:44:14 +00:00
Carsten Haitzler bffe5a426c notification - get rid of useless appendix code...
themes have supported notification for as logn as e17 was released
so remove useless "appendix" of code that handles if it isnt.
2022-02-20 11:53:15 +00:00
maxerba 8368850157 Updating french translation 2022-02-18 20:52:28 +01:00
Carsten Haitzler 12cbf43ae2 pkgkit - count pkgs total in gadgets
2022-02-07 10:45:17 +00:00
Carsten Haitzler e8c5e18fdf deskmirror - donbt show iconified windows
2022-02-02 19:35:41 +00:00
Carsten Haitzler 6ed1e61996 focus - fix some lingering mis-focus issues
finally fix T8980 (i hope)
2022-02-01 12:30:00 +00:00
Carsten Haitzler b4a05429d0 modules - add procstats to whitelist 2022-02-01 12:28:49 +00:00
Carsten Haitzler 93fa4e6393 pager - don't keep building up more popups on popups on switches
re-use the existing popup and stop stacking more and more.

2022-01-31 11:39:15 +00:00
Carsten Haitzler 6fe4d9c9b7 efm - recent - fix up mis-sorting on re-load and make icons better
was missing thumbnails - now do them. fix re-sorting of items weirdly
on re-load later.

2022-01-30 11:34:51 +00:00
Marcel Hollerbach 349acb214d e_client: fix more focus weirdness
parent should be raised, even though it is not the modal.
2022-01-28 18:26:00 +01:00
Carsten Haitzler 18a86f2f64 efm - do same mime lookup method as efm in recents menu
2022-01-27 17:13:36 +00:00
Carsten Haitzler aa93a66b5f desklock settinghs - fix kbd layout list to fill vert
2022-01-24 14:14:31 +00:00
Carsten Haitzler cef95a0189 shot - reset cnp flag once cnp'd
otherwise we segv assuming we are doing cnp still and access a null

2022-01-22 18:45:38 +00:00
Carsten Haitzler ea97371770 focus out - ignore all ungrabs as we unfocus a window that should be
this fixes a boundary case on mouse ungrabs

2022-01-21 21:05:32 +00:00
Carsten Haitzler 921f5208e7 xkb config - fix segv on close advanced mode dialog
didnt remove the lists with del callbacks that accessed the cfdata
struct to set lisrts to null on del before cfdata was freed...
callback hell. yay.

2022-01-21 16:10:38 +00:00
Christopher Michael 6d2b5e9144 e_about: Update copyright year 2022-01-20 11:37:36 -05:00
Carsten Haitzler b84fc34d08 bz5 - dont ping devices on unpowered adapter
2022-01-20 11:12:22 +00:00
Carsten Haitzler dcc02e3bd2 notification - fix shadow around extra notifications when all shown
if you show notifications on all screens the extra ones not on the
current screen get a shadow - this is wrong. this fixes that

2022-01-19 11:52:36 +00:00
Carsten Haitzler 264b59c42f gesture - add an option to turn it all on or off
so - some people have issues if we open devices. why... i don't know,
but add an option to toggle this and be conservative and have it off
by default

2022-01-18 21:17:54 +00:00
Carsten Haitzler 29e1a12da3 backlight - add option for ddc to work or not
just because libddcutil is installed doesnt mean someone always wants
backlight on monitors controlled, so allow an option.
2022-01-17 22:23:07 +00:00
Carsten Haitzler 58462390be ibar - emit left/right a;ign if gadcon is left/right vertical
2022-01-17 20:56:45 +00:00
Carsten Haitzler f615a2120d theme - ibar/ibox label overlay - properly align with text min size
2022-01-17 20:56:03 +00:00
Carsten Haitzler 6ad07d07c2 fileman - fix favorites to scale
2022-01-12 14:24:34 +00:00
Carsten Haitzler b6da0ac873 bluez5 - dont need the force conenct option it seems - cant find a need
if connected AND trusted it should conenct again next time you power
them on etc. ... so .. let's remove extra option cruft we seemingly
don't need - less confusion for users

2022-01-09 16:40:21 +00:00
Marcel Hollerbach f7708c6e74 focus: leave frame focus setting here
that might cause bugs, however, everything else might end up in a
endless recursion.
2022-01-09 17:38:55 +01:00
Carsten Haitzler 47767cf645 bluez mod - on unload deregister gadcon class
fix leak of this class on unload.

2022-01-09 15:26:03 +00:00
Marcel Hollerbach 841c8f477f focus: do not revert to another client when client is unfocused
This was a nice idea to fix most focus bugs at once. However, due to the
runtime of e many things can get "randomly" focused, for exmaple: volume
control on the frame, internal dialogs, config value screens when
grabbing for keys, widgets when they get created in a gadget. The list
is quite long. However, fixing all those little bugs is hard and partly
impossible as the behaviour is correct in the context of a toolkit, not
in the context of a compositor.

Long term we should split window-focus and canvas-focus from each other,
then bugs like these would not be a problem anymore.
2022-01-09 15:51:34 +01:00
Carsten Haitzler aff854b2ea e focus - volume - dont allow obj focus that disturbs the rest of e
this messes up focus on windows etc. ... quick fix - dont allow the
slider to be focused... :)

2022-01-09 14:48:26 +00:00
maxerba a471788444 Updating french and portuguese translations 2022-01-09 09:31:34 +01:00
Carsten Haitzler 61584a5f57 e focus - fix previous commit segv on no windows left
if window deleted is the focused on... oops - BOOM. not handled.
handle it. also revert x focus to root so bindings work.

fixes previous 2d86d75139

2022-01-07 00:10:13 +00:00
Marcel Hollerbach 1f69e41daa add forgotten header define 2022-01-06 21:40:14 +01:00
Marcel Hollerbach 2d86d75139 e_client: revert focus instead of setting it to NULL
When closing a client a few different things can happen:
1. Client hides, this will destroy the e_client object, which will
   reverts focus to another client.
2. Client hook del, this will recover focus to the root window if no
   e_client is focused.
3. Client unfocus event, setted the focused to NULL and sets the focus field to 0.

when first 1 happens then 2 or 3 everything is fine. However, it seems
that sometimes first 3 happend, then 2, then 1. Which results in focus
beeing first NULL, then recovered to the root window, resulting in the
wrong things happening.
2022-01-06 20:57:38 +01:00
Carsten Haitzler e2e1b1956d e_icon - switch from edj/std icon to custom img file properly
2022-01-05 11:50:33 +00:00
Carsten Haitzler 0f17a85674 systray - add more debugging to find clients that act oddly
2022-01-05 11:50:11 +00:00
Carsten Haitzler 0603300828 e - border list - fix list to filter volume out
the volume style is not a border but the gadget - a mistake made long
ago when this was added. cant change now due to theme compat to filter
out in code

2021-12-31 13:25:45 +00:00
Carsten Haitzler ba156d2f46 gesture - vm (vbox) detect hack to work around xorg no display bug
so... you go through wizard - only in vbox it seems (or maybe other
vm's - don't know - only tried vbox - this doesnt happen on real
systems). at the end e restarts... and it's blank. e is actually
rendering. you can screengrab (eg import -window root out.png) and see
the screen drawn just fine. xrandr is all set up right - everything is
kosher... but nothing will display except the curosr. xorg is just not
displaying rendered content. somehow e's gesture code and use of
logind/libinput to get inpiut devices for gestures tickles this xorg
bug. i don't quite know why as xorg doesnt seem to be complaining.
once you restart the xorg process everything works fine from there on.
it's some bug inside xorg that just refuses to display output.
manually changing resolution with xrandr will reset things and have
things render... until e restarts. a fukll xorg re-run is needed to
fix it... there just is nothing i can see that e is doing wrong or to
fix in e... so this is a workaround the xorg side by just not using
the gesture support if on a vm. they won't have touchpads anyway and
emulate mice so ... no real loss. this won't affect peolpe on real
systems and it may not always work as a workaround as it relies on
systemd-detect-virt or hostnamectl.

2021-12-30 17:03:35 +00:00
Carsten Haitzler 0404e68632 windows - netxcloud app - fix constant show/hide cycles
e is not ignoring the first unmap event on this reparent ... this
fixes that and the nextcloud app stops making e sit and spin at full
cpu and flickering tasks etc.

2021-12-28 18:38:52 +00:00
Marcel Hollerbach 1766779b19 it should be edd not eed ... :( 2021-12-17 13:19:28 +01:00
Marcel Hollerbach b237764161 e_pointer: improve overall
do not allow a dangling pointer, and check all entities that require the
pointer object to be alive.
2021-12-17 13:12:02 +01:00
Marcel Hollerbach 36eafd9a0e do not crash when context is NULL 2021-12-17 13:09:55 +01:00
Carsten Haitzler d936a22ff6 e temp - use labels not paths to match sensors - more reliable
the device PATHS may change - depending on probe times/order and luck,
so use the labels to match as these should be more reliable boot to

2021-12-14 19:53:02 +00:00
Christopher Michael b13a34cfeb shot: Remove unused variables and unused function 2021-12-07 09:03:43 -05:00
Carsten Haitzler 5ce8d65020 shot - make initial size fit as best as possible and be big 2021-12-07 12:52:12 +00:00
Carsten Haitzler f098843f01 lokker - remove extra ptr pop that doesnt seem needed - fix blanking ptr 2021-12-07 12:52:12 +00:00