Commit Graph

5224 Commits

Author SHA1 Message Date
Kim Woelders e62c11ab0f Update po 2022-03-11 06:44:01 +01:00
Kim Woelders d92bc5a90a backgrounds: Drop 'use_bg' IPC command (but not entirely)
Use "bg use ..." instead of "use_bg ..."

It looks like there are users out there (epplets, feh), so for
compatibility handle it in the ipc compat department.
2022-03-11 06:41:28 +01:00
Kim Woelders dffa629b47 backgrounds: Drop most calls to autosave()
autosave() saves config and snapshot stuff but not the background
configuration.
2022-03-10 21:18:02 +01:00
Kim Woelders 799b267f28 ipc: Return error message on unknown command 2022-03-10 21:18:02 +01:00
Kim Woelders f633be2c70 session: Do call module exit functions on X disconnect
Various configuration files should be written on exit.
In particular background configuration changes could be lost.
2022-03-10 20:24:42 +01:00
Kim Woelders ba2e0ab871 glwin: Drop close on exit
Not necessary.
2022-03-10 20:24:42 +01:00
Kim Woelders 95d47591cf containers: Configuration saving tweaks
- Don't save configuration on exit.
  We already save it whenever it changes.
- Update configuration file atomically.
2022-03-10 20:24:27 +01:00
Kim Woelders dcfb5efba1 Move XFontSet based text rendering module to separate file
Like the other font handlers.
2022-02-20 21:58:14 +01:00
Kim Woelders 01eb2aef59 Drop XFontStruct based font handling
Hasn't been active or enabled in ages, possibly never.
2022-02-20 19:22:26 +01:00
Kim Woelders b48db942a2 Simplify src/Makefile.am
Also rename ttfont.c to text_ift.c for consistency.
2022-02-20 19:22:13 +01:00
Kim Woelders 9904bdbe66 Add python versions of perl sample-scripts 2022-02-17 09:55:26 +01:00
Kim Woelders 3cb75416a9 Sample script fixes and tweaks 2022-02-17 09:55:26 +01:00
Kim Woelders 93e62a25f5 sample-scripts: Tabs -> spaces
And a few other whitespace adjustments.
2022-02-17 09:55:26 +01:00
Kim Woelders 254bbc4394 e_gen_menu: Some icon search updates
- Add 'legacy' to IconCats
  Finds quite many extra on my box
- Add 'mate' to Themes
- Look for .xpm too in /usr/share/pixmaps
  Finds just one more
- Look for 128 size icons too
  Finds just one more
- Look for .svg too
  Finds quite many extra
2022-02-17 09:55:26 +01:00
Kim Woelders 64e5fd5305 e_gen_menu: Drop old gnome/kde stuff
Obsolete for decades by now, I think.
2022-02-17 09:55:26 +01:00
Kim Woelders 5e000d0d4e e_gen_menu: New python version
Quite a bit easier to read, IMO.
Looks like twice as fast as the old perl one.
2022-02-17 09:55:26 +01:00
Kim Woelders 8c6817fd99 e_gen_menu: Rename to e_gen_menu.pl
About to be replaced but let's keep this one around for a bit.
2022-02-17 09:55:26 +01:00
Kim Woelders a790d21492 config: Convert string update script to python and update 2022-02-17 09:55:26 +01:00
Kim Woelders 8cb792d0de menus: No longer need to pass through shell 2022-02-17 09:53:20 +01:00
Kim Woelders bd8433bdfc Remove now unused usershell() 2022-02-17 09:53:20 +01:00
Kim Woelders 5ee83dc874 Drop using shell to run menu (ipc exec) commands
Instead do environment variable substitution when menus are loaded and
run commands directly (with execvp()) without passing through shell.
2022-02-17 09:53:20 +01:00
Kim Woelders 52d8dfe805 Introduce EnvSubst() 2022-02-17 09:53:20 +01:00
Kim Woelders 36ff0e5a19 actions.c: Drop elaborate GSOD messages on ipc exec errors 2022-02-17 09:53:20 +01:00
Kim Woelders 2a3f914716 actions.c: Let Eexec() use ExecSetupEnv() too
And rename a couple of functions marking them local.
2022-02-17 09:53:20 +01:00
Kim Woelders 9f033c4b9a ipc: Only include dialog_ok if ENABLE_DIALOGS 2022-02-16 19:35:43 +01:00
Kim Woelders da30b90052 Disable setting internal window title via ipc (properly)
Previously, when trying to set the title via ipc, the window WM_NAME and
_NET_WM_NAME properties would be changed, but the border title (e16's
perception of the properties) would not be updated because PropertyChange
notifications for internal windows are discarded (to avoid processing
changes we already know have happened, IIRC).

Now the internal window name properties are not changed, avoiding
inconsistency between properties and internal state (and border title).
2022-02-14 16:52:21 +01:00
Kim Woelders cbeb3fbd4a ipc: Enable setting dialog_ok title 2022-02-14 16:52:21 +01:00
Kim Woelders ea31956665 Update COMPLIANCE 2022-02-14 16:52:21 +01:00
Kim Woelders 8b553d3d97 Remove gnome1 hint support
Probably about time - obsolete and disabled by default for almost 20 years.
2022-02-14 16:52:15 +01:00
Kim Woelders 7859df60be extinitwin: Fix errors in window mode when using old window cursor mode 2022-02-10 15:04:08 +01:00
Kim Woelders 85912e39e2 New feature - Making windows stick on specific desks/areas 2022-02-05 14:15:01 +01:00
Kim Woelders 3191153a49 snaps.c: Cosmetics 2022-02-05 13:19:19 +01:00
Kim Woelders 6722addcd3 Introduce Ememdup() 2022-02-05 13:19:19 +01:00
Kim Woelders 7a4db552b3 1.0.24.000 2022-02-04 06:33:55 +01:00
Kim Woelders d1ac76adb2 edox: Don't try rendering text outside edox window
When a text line to be rendered does not fit at the current position,
the corrected position could be set outside the edox window, which would
cause errors reported by imlib2.

Now the corrected position will be set to the lower left corner. This
may cause text to not be rendered exactly where it should be, but at
least it is rendered (which makes it easier to spot the problem), and
imlib2 errors are avoided.
2022-01-30 14:58:20 +01:00
Kim Woelders 9c6cd28436 Do focus windows to be manually placed
Broken by ebe82a7bbb, see
https://phab.enlightenment.org/T8973
2021-12-21 06:54:52 +01:00
Kim Woelders 4eeed36acd matches.cfg: Correct help text regarding size matching
Spotted by Dennis Nezic.
2021-11-23 19:38:14 +01:00
Kim Woelders d045a86c5c Implement matchregexp() using fnmatch() 2021-11-15 12:49:30 +01:00
Kim Woelders 2db8cc269f 1.0.24 2021-11-14 08:13:34 +01:00
Kim Woelders e9d554d083 Update po 2021-11-14 08:12:51 +01:00
Kim Woelders e6e1e36bfb Danish translation update 2021-11-13 18:52:59 +01:00
Kim Woelders 8f82fe1559 pagers: Remember zoom setting when changed by pager menu 2021-11-13 18:50:17 +01:00
Kim Woelders 370a899bec Regular expression matching fix simplification 2021-11-13 18:07:07 +01:00
Kim Woelders 44b31fbbd1 Regular expression matching fixes
Patch by Dennis Nezic <dennisn@dennisn.mooo.com>:

Currently, in matches.cfg, "Title *bla ..." will match any title with
"bla" in it ... but it should only match if the title ends in bla,
right?
2021-11-12 17:42:12 +01:00
Kim Woelders 091e3684dd systray: Change default icon size to 32
Size 16 is a bit small and seems to be problematic these days.
2021-10-23 14:24:38 +02:00
Kim Woelders c464b8bdcb Set _NET_WM_PID on WM check window
Shown by utilities like wmctrl and xrestop.
2021-08-27 08:00:03 +02:00
Kim Woelders 06458b8953 Drop initial setting of _NET_WM_NAME = "e16" on the root window
It is not required and we override it with the desktop name later
anyway.
2021-08-27 07:59:59 +02:00
Kim Woelders 0aa2f07e6b Refactor atoms handling
Makes adding/changing atom stuff much easier.
2021-08-27 06:55:34 +02:00
Kim Woelders c4c457d607 Avoid using "delete" 2021-08-22 05:28:09 +02:00
Kim Woelders 721656447c COMPLIANCE: Update 2021-08-21 20:58:34 +02:00