Kim Woelders
4e97cbb637
groups.c: Rename functions for more consistency
...
Swap a couple of arguments too.
No functional changes.
2020-05-05 22:42:08 +02:00
Kim Woelders
c4026c585c
groups.c: Reshuffle code to avoid forward declarations
2020-05-05 22:42:08 +02:00
Kim Woelders
02001e632d
groups.c: Mostly cosmetic changes around group configuration
2020-05-05 22:42:08 +02:00
Kim Woelders
5a131b00b1
groups.c: Eliminate BuildWindowGroup()
2020-05-05 22:42:08 +02:00
Kim Woelders
864009da54
groups: Eliminate EwinGetGroups()
...
Not particularly useful.
2020-05-05 22:42:08 +02:00
Kim Woelders
01a2163989
Add feature to build with ASAN (--enable-gcc-asan)
2020-05-05 22:42:08 +02:00
Kim Woelders
33a0c3e595
Fix obscure m4 problem
...
The line
define(ec_c_compile_cpp, ifelse([$1], [cpp], [yes], [no]))
potentially caused weird problems later in configure.ac.
Using m4_define instead cured that.
So let's do define() -> m4_define() elsewhere too.
2020-05-05 22:41:37 +02:00
Kim Woelders
258d174ffa
Autofoo cosmetics (AC_HELP_STRING -> AS_HELP_STRING).
2020-05-05 22:41:26 +02:00
Kim Woelders
be8c4faf60
Add alsa-lib sound backend
2020-05-05 10:22:36 +02:00
Kim Woelders
47d9555861
Minor cleanups in sound players
...
The sample pointers will never be NULL in _Play() and _Destroy() so drop
checks.
Also drop some pointless pointer clearing.
2020-05-05 10:15:44 +02:00
Kim Woelders
26e106a613
Avoid potential crash when attempting to enable sound, cosmetics
...
IF sound initialization fails AND then attempting to enabling sound with
"eesh set sound.enable 1" (which didn't actually enable sound), e16
could crash.
2020-05-02 11:11:10 +02:00
Kim Woelders
d24cdd303b
GSOD: Avoid rendering artifacts when unmapped
...
Somewhat hacky as the compositor may discard window events if the window
destroy event is received in the same batch as the map(reparent) event,
hence the delay before destroy.
2020-05-02 09:56:04 +02:00
Kim Woelders
42447b16d3
Minor cleanups after sound by audio player feature
...
- Correct configure.ac help string
- Issue warning if player is not executable
Also change sound server problem warning message from GSOD to dialog.
2020-05-02 08:12:46 +02:00
Kim Woelders
9a6825fadf
Introduce path_canexec0() for convenience
2020-05-02 08:11:30 +02:00
Kim Woelders
1ea08c2075
Optionally play sounds using audio player
2020-05-01 15:42:03 +02:00
Kim Woelders
0ef79b8771
Autofoo sound configuration cosmetics
2020-05-01 14:11:26 +02:00
Kim Woelders
cf552ef7f9
Enable sounds in combined configuration dialog
2020-05-01 14:11:26 +02:00
Kim Woelders
8b10610095
Espawn(): Use variable argument list
2020-05-01 14:11:26 +02:00
Kim Woelders
7d7ec4add2
edox: Fix missing return value (at previously unreachable function exit)
2020-05-01 14:11:23 +02:00
Kim Woelders
893ccb4bce
edox: Add a couple of forgotten casts
2020-05-01 14:11:22 +02:00
Kim Woelders
a35ea61980
Spec file: Add git tag to rpm file name (if built from git checkout)
2020-03-07 17:30:56 +01:00
Kim Woelders
dca85018b7
configure.ac: Drop unnecessary prefix stuff
2020-03-07 17:30:56 +01:00
Kim Woelders
cee07a720a
groups.c: Correct debug stuff
2020-03-07 17:30:56 +01:00
Kim Woelders
7011dc150d
Hide Group struct internals
2020-03-07 17:30:56 +01:00
Kim Woelders
36b4eff7cc
Fix incorrect check for __attribute__ ((unused)))
...
Worked with gcc which allows nested functions but not with
clang-analyzer which doesn't.
2020-02-08 09:03:35 +01:00
Kim Woelders
4fb216e825
autogen.sh: Add -n as alternative to NOCONFIGURE
2020-02-08 09:03:35 +01:00
Kim Woelders
c839d0e14a
src: Fix clang-analyzer complaints
...
arrange.c: Highly unlikely, maybe impossible situations
backgrounds.c: False positive (I think)
dialog.c: Fix memleak/segv on realloc failure
focus.c: False positive
ewin should never be NULL with FOCUS_EWIN_NEW
main.c: False positive
eoptarg will always be set if argument requires option
menus.c: Fix memleak on malloc failure
session.c: Fix dead assignment
stacking.c: False positive
Changed code is nicer though
pager.c: False positive
ewin would never be NULL if hiwin was NULL
But rearrange for clarity anyway
ecompmgr.c: Avoid bogus issues
2020-01-29 16:43:01 +01:00
Kim Woelders
910a27dd56
edox: Fix clang-analyzer complaints
2020-01-29 16:39:39 +01:00
Kim Woelders
72a86722a7
eesh: Fix clang-analyzer complaints
...
The -e and -ewait options haven't done anything a normal
non-interactive invocation does in ages.
Just ignore them and let the malloc'ing argument handling deal with it.
2020-01-29 16:39:39 +01:00
Kim Woelders
b6f500f3bc
aclass.c: Fix valgrind complaint
2020-01-25 14:36:47 +01:00
Kim Woelders
32e9cf4535
slideouts: Fix potential crash
...
For obscure reasons(?) Mode.context_win may be set to some large window.
If a slideout is then shown (if the slideout doesn't fit between the
window and the screen edge), SlideoutShow() will call itself recursively
until we crash.
2020-01-25 14:32:47 +01:00
Kim Woelders
031b9dd23e
slideouts: Refactoring
...
- Split up SlideoutCalcSize().
- Move the functions to avoid forward declarations.
- Drop pointless call in SlideoutAddButton().
2020-01-25 14:32:47 +01:00
Kim Woelders
b294796de2
slideouts: Use defines for directions
...
And correct the two incorrect ones.
2020-01-25 14:32:47 +01:00
Kim Woelders
88dba1cfff
Re-indent with indent-2.2.12
2020-01-23 21:30:02 +01:00
Kim Woelders
9d3875afce
Indent profile - Drop -bad for now as it does silly things
2020-01-23 21:30:02 +01:00
Kim Woelders
18f9df7774
Fix unmaximizing by _NET_WM_STATE[_MAXIMIZED_...]
2020-01-23 20:30:23 +01:00
Kim Woelders
efb00936d7
libhack: Intercept XSendEvent too
2020-01-23 20:30:03 +01:00
Kim Woelders
4e74e31d23
bindings: Add 'W' as alias for modifier 4
2020-01-23 20:29:51 +01:00
Kim Woelders
d4278e802e
windowmatches: Add some consts
2020-01-23 20:29:15 +01:00
Kim Woelders
8f1bfc4f53
Fix warnings occurring in various situations
2020-01-23 20:29:05 +01:00
Kim Woelders
c40e0e4787
Consistently use @ as token delimiter in .in files
2020-01-18 06:10:31 +01:00
Kim Woelders
7836d0cf3e
windowmatches: Enable having spaces in name matches
2020-01-06 17:22:06 +01:00
Kim Woelders
4df8199d60
windowmatches: Remove some cruft
2019-12-28 10:47:15 +01:00
Kim Woelders
e101ec06a7
windowmatches: Issue notice when discarding invalid one
2019-12-25 16:50:37 +01:00
Kim Woelders
36763cc7e2
windowmatches: Resurrect USE_ICON_IMAGE_FOR_CLIENT_() macros
2019-12-25 16:23:35 +01:00
Kim Woelders
4bedde9c1b
definitions: Empty obsolete windowmatch macros
...
Haven't worked in ages.
2019-12-25 16:23:35 +01:00
Kim Woelders
4daa634a06
windowmatches: Remove ancient incorrect case values
2019-12-25 14:25:52 +01:00
Kim Woelders
57be6615d3
windowmatches: Fix use of MAKE_WINDOW_STICKY_...() macros
...
Looks like the last time this worked was in 0.16.8.
2019-12-25 14:25:40 +01:00
Kim Woelders
d747d0ddef
e_gen_menu: Drop ConsoleOnly apps
2019-12-25 14:25:18 +01:00
Kim Woelders
a30f4bf566
Use installed gettext version, if possible
...
Seems reasonable and may avoid warnings like
The 'AM_PROG_MKDIR_P' macro is deprecated, ...
2019-11-02 16:40:56 +01:00