Kim Woelders
f188d84406
Fix segv on bad border definition
...
If a border definition was completely empty we would call _BorderCheck()
with b = NULL.
2021-03-20 06:58:32 +01:00
Kim Woelders
9d235a1ecd
Remove some (duplicated?) configuration identifiers that are not in definitions
2020-09-26 17:17:25 +02:00
Kim Woelders
bf1095d107
Hide Border struct internals
2020-09-25 16:00:35 +02:00
Kim Woelders
5132afd313
Simplify checks for borderless
2020-09-25 16:00:35 +02:00
Kim Woelders
00f4a27d93
borders.c: Prefix static functions with _
2020-09-25 16:00:35 +02:00
Kim Woelders
22b5e58dcd
Refactor/rename/use _EFREE type macros
2018-12-22 11:44:22 +01:00
Kim Woelders
988ebc96e8
Trivial cleanups
2018-03-11 19:51:32 +01:00
Kim Woelders
ca5040e643
Remove pseudotransparency support - 3
...
- Remove obsolete image type argument.
2018-02-04 13:32:59 +01:00
Kim Woelders
70ee606634
Warning fixes for gcc 7.
2017-02-12 19:09:08 +01:00
Kim Woelders
1377015985
Forgot a config.h.
2015-01-17 20:06:03 +01:00
Kim Woelders
9c31fe29ed
Clean up header file inclusion order.
...
Fixes building with e.g. -std=c99 and c11 by always including config.h
(which defines _GNU_SOURCE) first.
2015-01-17 19:33:42 +01:00
Kim Woelders
a9a568ffe3
Debug printout cleanups.
2014-10-17 21:25:12 +02:00
Kim Woelders
4d1bde02ae
Wrap XID and some other X types.
...
Mostly to change longs to ints to reduce memory footprint a bit on 64
bit systems.
2014-04-23 19:13:00 +02:00
Kim Woelders
e1f062fff5
Use NoXID in stead of None.
2013-12-29 08:59:38 +01:00
Kim Woelders
e287b37e78
Switch to new list implementation.
...
Faster, less code, less memory usage.
Not that it matters much - mostly for fun.
2013-08-09 11:43:48 +02:00
Kim Woelders
2a95307f44
Eliminate BordersForeach().
...
Also let BordersGetList() do alphabetic sorting.
2013-07-07 23:17:11 +02:00
Kim Woelders
ceb0c5aa3f
Enable not using a container window.
...
When not using the container window, client windows are reparented to
the frame window, not to a container window which is a child of the
frame window.
SVN revision: 83374
2013-01-27 21:00:54 +00:00
Kim Woelders
0786a813d0
EwinMove/Resize - Change various global/ewin flags to function parameter.
...
SVN revision: 70390
2012-04-22 17:39:37 +00:00
Kim Woelders
f0c0a4519c
Change TimerAdd() and TimerSetInterval() time to ms.
...
SVN revision: 55891
2011-01-05 18:05:57 +00:00
Lucas De Marchi
4d4401c5d3
Apply badzero.cocci, badnull.cocci and badnull2.cocci
...
Since badzero.cocci depends on coccinelle knowledge about a variable being a pointer
and about a function returning a pointer, maybe there are false negatives.
SVN revision: 51092
2010-08-13 17:04:13 +00:00
Kim Woelders
fbe7f5d2e3
Add sanity check in BorderCreateFiller().
...
SVN revision: 50839
2010-08-05 17:53:54 +00:00
Kim Woelders
c24755d012
Use "filler" border in stead of zoom masks when zooming.
...
SVN revision: 50351
2010-07-18 18:52:54 +00:00
Kim Woelders
8438984e49
Fix potential memory leak when window leaves fullscreen mode.
...
SVN revision: 50347
2010-07-18 18:52:45 +00:00
Kim Woelders
708e19593e
Fix some poytential segvs. Minor cleanups.
...
SVN revision: 49485
2010-06-06 10:05:50 +00:00
Kim Woelders
0466673fbf
Trim whitespace from translatable strings.
...
SVN revision: 48723
2010-05-09 19:03:19 +00:00
Kim Woelders
a7e538be10
Trivial fixes (clang).
...
SVN revision: 45718
2010-01-29 19:45:04 +00:00
Kim Woelders
e1ab1d916e
Remove grab/ungrab on border part button events.
...
SVN revision: 45714
2010-01-29 19:44:54 +00:00
Kim Woelders
96037118e2
Fix move/resize sometimes not being terminated properly.
...
SVN revision: 45358
2010-01-20 16:59:18 +00:00
Kim Woelders
01fa299f45
Use new event window for move/resize.
...
SVN revision: 44594
2009-12-20 07:29:51 +00:00
Kim Woelders
501690bb4b
Change name, eliminate unused return values.
...
SVN revision: 44339
2009-12-10 16:37:56 +00:00
Kim Woelders
ced8c9086e
Fix resize while shaded.
...
SVN revision: 43890
2009-11-22 09:53:10 +00:00
Kim Woelders
af8f7e53e4
Revove some unneeded sanity checks.
...
SVN revision: 43889
2009-11-22 09:53:08 +00:00
Kim Woelders
c80bec99c7
Fixups after recent border part title/icon changes.
...
SVN revision: 43299
2009-10-26 17:47:32 +00:00
Kim Woelders
7a3572f734
Enable having title and icon in same border part.
...
SVN revision: 43254
2009-10-25 08:17:18 +00:00
Kim Woelders
f3ee018bd2
Fix vertical alignment in title.
...
SVN revision: 43168
2009-10-20 16:48:06 +00:00
Kim Woelders
2aa7e385e2
Enable showing mini icon in border part (suggested by Don Harrop).
...
SVN revision: 43124
2009-10-17 08:04:48 +00:00
Kim Woelders
cdaddb3376
Remove unused parameter.
...
SVN revision: 41510
2009-07-27 16:46:54 +00:00
Kim Woelders
27c2a745ac
Delay autoshading when leaving.
...
SVN revision: 39615
2009-03-21 20:58:00 +00:00
Kim Woelders
4086204289
Autoshade - shade/unshade all in group.
...
SVN revision: 38957
2009-02-05 17:35:48 +00:00
Kim Woelders
9fc923f6ab
Add autoshade window option (suggested by Don Harrop).
...
SVN revision: 38883
2009-02-01 10:15:13 +00:00
Kim Woelders
63562f1db7
Trivial cleanups.
...
SVN revision: 38623
2009-01-18 11:17:12 +00:00
Kim Woelders
aeee0177dc
Fix some warnings on FreeBSD (patch by Pietro Cerutti).
...
SVN revision: 37965
2008-12-06 19:44:40 +00:00
Kim Woelders
20e9396c05
Restore group border show/hide feature.
...
SVN revision: 37749
2008-11-22 21:16:55 +00:00
Kim Woelders
25c27e2cfd
Change some function names.
...
SVN revision: 37677
2008-11-16 17:20:37 +00:00
Kim Woelders
e82903882a
Theme element fallback cleanups
...
- don't create fallback classes before they are needed.
- use of fallbacks was missing a number of places.
- setting theme to "-" will run entirely on fallbacks.
SVN revision: 34885
2008-06-22 13:34:42 +00:00
Kim Woelders
26f7112636
Remove/comment out unused stuff.
...
SVN revision: 34533
2008-05-10 23:22:31 +00:00
Kim Woelders
b780491887
Rewrap more X stuff.
...
SVN revision: 34149
2008-03-30 12:13:16 +00:00
Kim Woelders
0a05aafc82
Assume free(0) is ok (if not HAVE_FREE_NULL_BUG will have to be defined).
...
SVN revision: 33818
2008-02-23 12:09:38 +00:00
Kim Woelders
90110fc471
Eliminate obsolete EventsConfigure stuff.
...
SVN revision: 33533
2008-01-19 13:32:30 +00:00
Kim Woelders
636ad94d4c
Fix potential segv with broken themes.
...
SVN revision: 33311
2007-12-30 21:03:57 +00:00