Commit Graph

131 Commits

Author SHA1 Message Date
Kim Woelders 49c4ddcb5e CM: Adjust shadowing conditions some more
Regular clients:
- Disable if fullscreen
- Disable if *client* is shaped (<- changed with this commit)
  Now shaped border themes like winter again can have shadows like
  before the previous fix (a41b2209).

Override-redirect:
- Disable if shaped
2022-04-03 17:05:24 +02:00
Kim Woelders a41b220904 CM: Adjust shadowing conditions
Treat all (non-off) shadow modes alike
Disable if shaped (OR too)
Disable if fullscreen (regular clients)
2022-03-30 22:18:20 +02:00
Kim Woelders 83a13eb6bf CM: Fix initial shaped state on OR windows 2022-03-30 22:18:20 +02:00
Kim Woelders b9a9946a0a Update copyright to 2018 2018-12-22 11:44:22 +01:00
Kim Woelders 22b5e58dcd Refactor/rename/use _EFREE type macros 2018-12-22 11:44:22 +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 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 1029581f54 Fix OR window registration some more.
Ignore our own windows (with root parent).
2013-12-22 11:37:50 +01:00
Kim Woelders 21e8e2045a Fix OR window registration.
... when already registered and mapped.

Introduced in 4a0bcfccf5.
2013-12-11 20:38:14 +01:00
Kim Woelders addfbbc75b Only manage InputOutput windows. 2013-11-24 16:37:17 +01:00
Kim Woelders 1294510ef2 Avoid redundant calls of XGetWindowAttributes (eobjs). 2013-11-24 16:37:17 +01:00
Kim Woelders 4a0bcfccf5 Simplify registration of override-redirect windows. 2013-11-24 16:37:17 +01:00
Kim Woelders 3d86eb55fa Wrap XGetWindowAttributes(). 2013-11-24 16:37:17 +01:00
Kim Woelders 6435db730a Debug printout tweaks. 2013-11-24 16:37:17 +01:00
Kim Woelders 7678242b64 Move/rename atom/property related wrapper functions and types.
Move e16-ecore_hints.c/h to xprop.c/h.
Rename ecore_x_... -> ex_...
Rename Ecore_X_... -> EX_...
Rename ECORE_X_... to EX_...
2013-04-07 20:02:24 +02:00
Kim Woelders 8044b9d023 Don't unmap/map OR windows during startup.
We might as well not generate the event noise caused by this.

SVN revision: 84348
2013-02-24 18:57:41 +00:00
Kim Woelders 51a19d26e7 Introduce new animation engine.
Based on work by Daniel Manjarres.

One of the major changes is to eliminate the "TimedLoop" construction
where we have "local" animation loops, in which we don't pass through
the main event handler.

SVN revision: 80542
2012-12-09 10:03:07 +00:00
Kim Woelders 3f8541b565 Move EObj sliding functions to slide.c too.
SVN revision: 73454
2012-07-07 14:05:56 +00:00
Kim Woelders 91fb3cb8e9 Forgot some 2012 updates.
SVN revision: 72964
2012-06-27 19:13:22 +00:00
Kim Woelders a67f6fbe4e Expose ECompMgrWinSetOpacity() - call via EobjChangeOpacityNow().
SVN revision: 70946
2012-05-12 16:11:50 +00:00
Kim Woelders 438fcfef19 Add EobjGetNameSafe (for debug).
SVN revision: 60281
2011-06-13 16:28:58 +00:00
Kim Woelders 86da917809 More warning fixes for gcc-4.6.
SVN revision: 56965
2011-02-12 16:43:52 +00:00
Kim Woelders bc582d5de5 Remove compositing resize fixup hack for old Xorgs.
SVN revision: 56964
2011-02-12 16:43:50 +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 50fa6c9b7a CM: Don't put shadow on ARGB override-redirect windows.
SVN revision: 46966
2010-03-07 22:53:00 +00:00
Kim Woelders 8180b23268 Unmap internal windows before destroying.
Only actually needed if compositing is active.
Fixes rendering bug with progress bars.

SVN revision: 45020
2010-01-10 17:17:11 +00:00
Kim Woelders 4d439be211 Correct wrapping here and there.
SVN revision: 36387
2008-10-01 22:19:41 +00:00
Kim Woelders ced10e2311 Change some values to defines.
SVN revision: 34754
2008-06-05 17:45:01 +00:00
Kim Woelders 3e237fb247 Enable fading/shadow when desired (in stead of disabling when not).
SVN revision: 34753
2008-06-05 17:42:59 +00:00
Kim Woelders 6eaca2639c Eliminate redundant VRoot vars.
SVN revision: 34106
2008-03-24 11:12:40 +00:00
Kim Woelders e7f01c2d6f Add -brs to indent profile.
SVN revision: 34096
2008-03-23 11:54:24 +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 c9b1c47dfe Stuff for checking if various XSync's are really needed.
SVN revision: 33741
2008-02-13 21:31:29 +00:00
Kim Woelders 5ab71de162 Cleanups.
SVN revision: 33740
2008-02-13 20:51:00 +00:00
Kim Woelders 11164d37fb Add configuration of default opacities.
SVN revision: 33724
2008-02-10 20:21:53 +00:00
Kim Woelders 0d4c5bfcc1 CM: Avoid creating/destroying regions.
SVN revision: 30746
2007-07-11 08:44:12 +00:00
Kim Woelders e5d10b0d8e Fix some potential segv's.
SVN revision: 30453
2007-06-24 16:48:16 +00:00
Kim Woelders 591ca46201 Fix extents invalidation when reparenting+moving while unmapped.
SVN revision: 30118
2007-05-27 21:21:32 +00:00
Kim Woelders 4e1398d8a4 Move argb bit from Eobj down to Win struct.
SVN revision: 30040
2007-05-20 08:08:59 +00:00
Kim Woelders 17690df4b5 Add magnifier window (eesh mag show).
SVN revision: 29436
2007-04-07 13:19:30 +00:00
Kim Woelders 3648a92524 Make shadow on/off change effectve immediately.
SVN revision: 28281
2007-02-07 01:51:18 +00:00
Kim Woelders f53600e1e8 Cleanups, enable compiling everything as if it were C++.
SVN revision: 28022
2007-01-17 01:10:44 +00:00
Kim Woelders 83bcbbaee1 2007.
SVN revision: 27952
2007-01-13 19:14:29 +00:00
Kim Woelders 07ca8444cd Enable matching override-redirect windows by WM_CLASS.
SVN revision: 27214
2006-11-26 14:40:05 +00:00
Kim Woelders a2594a1e81 Rewrap stuff related to WM_NAME/CLASS.
SVN revision: 27211
2006-11-26 11:11:14 +00:00
Kim Woelders 63a8acc721 Split up, shuffle around, rename.
SVN revision: 27181
2006-11-19 21:55:52 +00:00
Kim Woelders 6f8d5d4d04 Set no-redirect flag on input-only windows (cosmetic/debug, has no real effect).
SVN revision: 27176
2006-11-19 12:37:09 +00:00
Kim Woelders d8dcbc390b Enable setting focused/non-focused opacity independently.
- Based on patch from Grant Wier.


SVN revision: 26934
2006-11-03 23:44:32 +00:00
Kim Woelders bb637b3693 Eliminate redundant geometry caching in top-level objects.
SVN revision: 25645
2006-09-08 23:13:57 +00:00