Commit Graph

5223 Commits

Author SHA1 Message Date
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
Kim Woelders 4632eda2fa Drop animation in EwinSlideSizeTo() if there is no change 2021-07-15 12:59:58 +02:00
Kim Woelders bfe59a8e8f Focus: Debug tweaks 2021-07-15 12:59:58 +02:00
Kim Woelders 0a65af57e5 Focus: Fix focus on new clients requesting max size 2021-07-15 12:59:58 +02:00
Kim Woelders 750a973b5e autofoo: Deal a bit more consistently with C[PP]FLAGS and LDADD 2021-06-03 20:12:13 +02:00
Kim Woelders 672f787eaf French translation update (Philippe J. Guillaumie/Carla Sensa) 2021-05-28 09:09:50 +02:00
Kim Woelders 50d0dcd467 Fix bad memory access during shutdown
Bad idea to use a pointer into a realloced array..
2021-05-07 10:08:21 +02:00
Kim Woelders 8c9d306fc1 FX: Use xrender when available
Maybe slightly faster. Mostly for fun.
2021-05-07 07:13:37 +02:00
Kim Woelders 34d1de3984 FX: Fix cleanup with compositing enabled 2021-05-07 07:12:17 +02:00
Kim Woelders 726bb9ea13 FX: Fix clipping with compositing enabled 2021-05-07 07:12:11 +02:00
Kim Woelders 8170ada68c FX: Make it work in regular compositing mode 2021-05-07 07:11:32 +02:00
Kim Woelders 47d1aa9d19 FX: Tweaks 2021-05-07 07:11:32 +02:00
Kim Woelders b89785d923 FX: Some refactoring
No functional changes, preparing for other stuff.
2021-05-07 07:11:32 +02:00
Kim Woelders f770f9d223 FX: Fix waves cleanup 2021-05-07 07:11:32 +02:00
Kim Woelders bbec00eb12 FX: Remove "correct bugs" operation in waves
Not sure what was intended. The operation specifies a source area
outside the pixmap.
2021-05-07 07:11:32 +02:00
Kim Woelders f18f394e35 Introduce HAVE_COMPOSITE_OVERLAY_WINDOW 2021-05-07 07:11:09 +02:00
Kim Woelders 6b1668d60b glwin.c: Fix incorrect config item size 2021-04-26 17:23:35 +02:00
Kim Woelders fc34a157b9 Sound: Enable changing engine at runtime
Mostly for fun but also makes it easier to compile check/test all sound
engines in one e16 instance, instead of having to go through all
build-time sound configurations.
2021-04-23 19:54:52 +02:00
Kim Woelders 4df26af47a Don't build disabled stuff
Disable by autofoo instead of by #ifdef.
2021-04-23 08:21:41 +02:00
Kim Woelders 06a6894e90 Sound: Change some esd to esound
Preparing for sound engines.
2021-04-23 08:21:41 +02:00
Kim Woelders 9b11a3d2a1 Sound: Change some pa to pulse
Just a bit more consistent.
2021-04-23 08:21:41 +02:00
Kim Woelders 4598a70547 Sound: Header file tweaks
Generally use config.h instead of E.h.
2021-04-23 08:21:41 +02:00
Kim Woelders 93b8da7e8a Move Eexec() and friends to util.h
Seems more appropriate.

And add missing __PRINTF__ on Espawn() prototype.
2021-04-23 08:21:41 +02:00
Kim Woelders 50e6b76395 Drop (v)snprintf() implementation
Let's assume everybody has this by now.
2021-04-23 08:21:41 +02:00
Kim Woelders a79f0a8cd6 Use installed gettext version, if possible
Let's try again.
2021-04-12 19:37:24 +02:00
Kim Woelders 404886956b Eliminate AM_LANGINFO_CODESET 2021-04-12 19:37:24 +02:00
Kim Woelders 4e8f03f499 1.0.23.000 2021-04-12 19:37:24 +02:00
Kim Woelders 98f5dc34b3 Fix version reported by e16 in release build
e16 in the e16-1.0.23 release unfortunately says "v1.0.22-64-g176e183e".
The release tarballs (and RPMs) are built from the proper v1.0.23 tag
though.
2021-04-12 18:57:54 +02:00
Kim Woelders ed39ba65fd 1.0.23 2021-04-09 07:31:19 +02:00
Kim Woelders baef6b76bb Trim ChangeLog (move <= v1.0.0 to ChangeLog.old), new format 2021-04-09 07:31:19 +02:00
Kim Woelders ed9ac01394 Add ChangeLog generation script 2021-04-09 07:31:19 +02:00
Kim Woelders bf077e9be6 Update po 2021-04-09 07:31:19 +02:00