Commit Graph

5086 Commits

Author SHA1 Message Date
Kim Woelders a6a411eb93 1.0.21.000 2019-11-02 16:40:56 +01:00
Kim Woelders 54901d1404 1.0.21. 2019-10-24 18:54:03 +02:00
Kim Woelders 2cc912a425 Update po 2019-10-24 18:39:08 +02:00
Kim Woelders 8a62cc19f9 e_gen_menu: menu generation speedups
Patch by Thanatermesis
2019-10-03 18:54:05 +02:00
Ingo Feinerer 04ec9834d9 Add sndio sound back end 2019-08-14 15:14:45 +02:00
Kim Woelders 7af2a15fef Fix using sound in modular build
Also remove obsolete __EXPORT__s on Strlist.. functions.
2019-08-10 16:32:48 +02:00
Kim Woelders c67ebd88ba Explicitly include sys/select.h where needed
... rather than relying on it to be included via sys/time.h or sys/types.h.
2019-07-30 17:40:04 +02:00
Kim Woelders c423cd13f6 Include potentially missing sys/select.h
Patch by Ingo Feinerer <feinerer@logic.at>:

the compilation of E16 fails on OpenBSD with following error message:

enlightenment-1.0.20/e16-1.0.20/eesh/main.c:90:4: error: use of undeclared identifier 'fd_set'
   fd_set              fd;
   ^

enlightenment-1.0.20/e16-1.0.20/eesh/main.c:227:2: warning: implicit declaration of function 'FD_ZERO' is invalid in C99 [-Wimplicit-function-declaration]
        FD_ZERO(&fd);
        ^

This is because FD_SET lives in the sys/select.h header in OpenBSD.

This seems to be the case on newer Linux systems as well:

https://linux.die.net/man/3/fd_set

 /* According to POSIX.1-2001 */
 #include <sys/select.h>
2019-07-30 17:30:02 +02:00
Kim Woelders a91440ebf6 1.0.20. 2019-05-31 18:04:07 +02:00
Kim Woelders 3aec52f580 Fix potential warning
Issued by gcc9 with certain combinations(?) of build options.
2019-05-30 18:18:48 +02:00
Kim Woelders 9f84935029 Fix build without composite 2019-05-30 17:38:37 +02:00
Kim Woelders 48b5d7b401 Add gobject-2.0 dependency in case pango doesn't include it
Apparently it was missing at some point.
2019-05-30 16:11:02 +02:00
Kim Woelders f6cd994124 Update po 2019-05-18 07:12:06 +02:00
Kim Woelders d767409ee8 Make config dialog edge flip mode changes take effect immediately
Previously it required a restart.
2019-05-18 07:08:52 +02:00
Kim Woelders e9c282c773 Forgot some 2019 2019-05-10 06:35:40 +02:00
Kim Woelders d979407994 Update po 2019-04-25 09:40:34 +02:00
Kim Woelders fc567497a9 GSOD: Only react to shown buttons 2019-04-25 09:40:34 +02:00
Kim Woelders 84616e4617 GSOD: Better keyboard grab
XGrabKeyboard() may fail if Alert*() is called from a child process
during an activated passive key grab, e.g. due to a keybinding doing
an "exec some-prog", and execl(some-prog) fails.
If XGrabKeyboard() fails the GSOD will not receive key events and only
the pointer can be used to interact with the GSOD.

Therefore we now also grab all possible keys/modifiers which should
normally include the Fn keys we want, and to some degree ensure that
other keyboard input is caught and ignored.
However, it seems that passive key grabs without modifiers may be
activated (queued) and prevent further key events to the GSOD -
presumably not a major problem in practice.
2019-04-25 09:17:21 +02:00
Kim Woelders e05a7293c6 Fix timer havoc in obscure situations
Not exactly sure when, but timers were created with undefined again,
which could lead to trouble due to unintended timer deletion.
2019-04-25 09:06:06 +02:00
Kim Woelders d77444f16d Fix potential memory leak in _ScreenInitXrandr() 2019-04-25 09:06:06 +02:00
Kim Woelders 4d8f151154 Use pkg-config some more 2019-04-25 09:06:06 +02:00
Kim Woelders 7dd27583aa configure.ac: Drop check for unused wctype.h 2019-04-25 09:06:06 +02:00
Kim Woelders 5d21c40c92 Fix compositing glitches with tiled backgrounds
It seems that sometimes there are rendering glitches when having a tiled
backround with 0 offsets and tile size less than screen size.

In this case the desktop pixmap would be smaller than the screen size and
we rely on the repeat picture attribute in the desktop picture to get it
tiled over the entire desktop window when compositing.

However, it seems that sometimes(?) the desktop window is not properly
repainted outside the top left tile.

To fix this we now always use a full-sized background pixmap when
compositing is enabled.

I think this is an X-server bug but I haven't been able to produce a
test case demonstrating the problem.
2019-04-06 11:10:27 +02:00
Kim Woelders 8ff53d9575 Remove unused header 2019-04-06 11:10:27 +02:00
Kim Woelders 9e476fb426 Fix potential segv in pulseaudio sound handler 2019-04-06 11:10:27 +02:00
Kim Woelders 8994417b49 Fix memory leak in pulseaudio sound loader
The leak only happens when a sound file is first loaded so the leakage
will not grow indefinitely.

Also eliminate global sample_stream and sample_length.
2019-04-06 11:10:27 +02:00
Kim Woelders cb81034902 e_gen_menu: Various corrections and tweaks
- Fix /usr/share/enlightenment -> /usr/share/e16
- Add mimetypes to IconCats
- Avoid duplicates

Thanks to Thanatermesis
2019-04-04 17:07:40 +02:00
Kim Woelders 26643ac49e e_gen_menu: Somewhat random menu generator changes
- Ajust default menu apps
- Add Adwaita (gtk3 default) to the icon theme list
2019-04-04 17:07:24 +02:00
Kim Woelders e1a6416a04 Restore background to last set if quitting background selector 2019-04-02 18:28:08 +02:00
Kim Woelders cd99117378 Correct refresh when switching away from background "None" 2019-04-02 18:28:08 +02:00
Kim Woelders 87d4ea9f48 Don't do double-clicks on scroll wheel events 2019-03-31 20:21:50 +02:00
Kim Woelders 83d1002949 Tweak winop opacity delta mode
- If current opacity property value is 0 meaning default then use
  actual current opacity.
- Don't go below 10%
- Going above 100 means use default (value = 0)
2019-03-31 20:21:50 +02:00
Kim Woelders 082c27d51f Update Copyright in COPYING 2019-03-31 20:21:48 +02:00
Kim Woelders c9ad641ba8 Fix restart after choosing Restart in GSOD on e.g. segv
Mode.wm.exit_now should be set before calling SessionExit() which may
happen inside Alert().
2019-03-26 18:47:45 +01:00
Kim Woelders d3f92db637 Remove saveunders option from Miscellaneous Settings dialog
No longer generally useful.

The option is still available via the misc.save_under configuration
parameter.
2019-03-26 18:45:53 +01:00
Kim Woelders 759f3743bd Correct (disabled) debug printout 2019-03-20 20:35:19 +01:00
Kim Woelders 802f34f758 Introduxe ArrangeEwinCenteredOn() 2019-03-05 16:15:28 +01:00
Kim Woelders c23bca5c26 Split unplaced transient and dialog handling
Shouldn't make much difference but makes the code a bit easier to
follow.
2019-03-05 16:15:28 +01:00
Kim Woelders 524540f7a8 Fix transient placement involving desk/area change (take 2)
Do desk/area change before placing the window.

Otherwise desk/area slides get mixed up with window slide-ins.

Also add some comments about what goes on here.
2019-03-05 16:15:28 +01:00
Kim Woelders 6dab84f6c6 Introduce EwinFindGroupMember() 2019-03-05 16:15:28 +01:00
Kim Woelders 84788b993c Optionally don't slide in DeskGotoByEwin()
No actual changes yet.
2019-03-05 16:15:28 +01:00
Kim Woelders 8dcb2d3dfa Revert "Fix transient placement involving desk/area change"
Does not work properly.

This reverts commit e132f27043.
2019-03-05 16:15:28 +01:00
Kim Woelders 96b538a6e1 Warning fix for gcc 9 2019-02-10 06:08:30 +01:00
Kim Woelders 19e250321f Tweak glwin commands
- Change R to S(top)
- Add R(eset), resetting the absolute rotations too
2019-02-10 06:08:30 +01:00
Kim Woelders 077c50513d Forgot indent 2019-02-10 06:07:38 +01:00
Kim Woelders 7dba55b215 Update 'definitions'
By Don Harrop
2019-01-14 19:35:44 +01:00
Kim Woelders e132f27043 Fix transient placement involving desk/area change 2019-01-02 17:34:33 +01:00
Kim Woelders 0c623f1efe Remove pointless goto 2019-01-02 17:34:33 +01:00
Kim Woelders a72a047fbf Update 'definitions'
By Don Harrop
2019-01-02 16:29:46 +01:00
Kim Woelders 0e0d840453 Consistently use *ALLOC() macros 2018-12-22 15:45:31 +01:00