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
Kim Woelders
0d6bdb4272
Support _NET_WM_STATE_FOCUSED
...
GTK apps apparently use this.
2021-08-21 20:57:04 +02:00
Kim Woelders
8f9a57fb10
Add _NET_WM_STATE_FOCUSED to the EWHM atoms
2021-08-21 20:47:34 +02:00
Kim Woelders
2c01d2e1a4
Only update _NET_WM_STATE and _NET_WM_ALLOWED_ACTIONS when changed
...
Avoids some hint noise.
2021-08-21 20:47:34 +02:00
Kim Woelders
206839b33b
xprop.c: Do some sanity checks using static asserts if possible
2021-08-21 20:47:00 +02:00
Kim Woelders
204999090e
Shuffle some property stuff around
...
Just somewhat cleaner.
2021-08-21 20:47:00 +02:00
Kim Woelders
6c173cc65e
session.c: Remove unused headers
2021-08-21 20:47:00 +02:00
Kim Woelders
d3bb5e171f
libhack: Add XGetWindowProperty interception
2021-08-21 20:47:00 +02:00
Kim Woelders
a2463cfdf3
libhack: Cosmetics
2021-08-19 10:22:28 +02:00
Kim Woelders
f9b5e2883a
Eliminate EGetGeometry()
2021-08-14 16:55:26 +02:00
Kim Woelders
b7c18a9c12
Change EXGetGeometry() to EXGetSize()
...
Only w and h are ever used.
Also remove now unnecessary initializations of returned values.
2021-08-14 16:55:24 +02:00
Kim Woelders
1618ea2ca8
x.c: Fix LTO warnings
2021-08-14 16:54:23 +02:00
Kim Woelders
282cb01ad7
x.c: Deubug stuff cleanups
2021-08-14 16:32:54 +02:00
Kim Woelders
7cbd476788
x.c: Remove ancient unused ECreateFocusWindow()
2021-08-14 16:11:06 +02:00
Kim Woelders
77c9525cea
extinitwin: Fix parent/client synchronization
...
1) Clear ENLIGHTENMENT_RESTART_SCREEN property on start so we properly
detect the client init condition.
2) Use SleepUs() instead of time() to properly force a delay.
time() was interrupted by signals (SIGCHLDs) cutting the delay short.
2021-07-20 20:55:08 +02:00
Kim Woelders
13c4b29a98
Fix EImageDefineCursor() for window mode
...
Use RROOT, not VROOT.
EImageDefineCursor() is used by the restart cursor code, and in window
mode VROOT is destroyed during restart.
Also correct comment.
2021-07-20 20:53:16 +02:00
Kim Woelders
4f9913301e
edox: Avoid LTO null pointer warning
2021-07-17 17:35:59 +02:00
Kim Woelders
551ff7b669
edox: Unifdef USE_XFONT
...
Disabled since 2007.
2021-07-17 17:35:59 +02:00
Kim Woelders
e98ef5eac2
Backgrounds: Fix trouble when deleting multiply referenced background
...
If a background to be deleted is multiply referenced it will not be
deleted.
In this case do not adjust the background miniature display.
2021-07-17 17:35:18 +02:00
Kim Woelders
6c0eb8620a
Backgrounds: Fix bad list operation in CB_ConfigureDelBG()
...
If ever we would delete the last background in the list we would get a
segv.
However, this will never occur as the None background is always the last
in the list and we will never delete it.
This can be a bit difficult to comprehend for static analysis tools so
eliminate the offending list operation.
2021-07-17 15:20:53 +02:00
Kim Woelders
1e0e63747f
Groups: Avoid compiler warning in _DlgFillGroups()
...
Enabling LTO appears to generate a warning.
However, if num_groups is 0 we will never go here.
2021-07-17 15:18:36 +02:00