Commit Graph

54 Commits

Author SHA1 Message Date
Kim Woelders 5ce609cca7 Change formatting style
No tabs, more like K&R.
Also switch to indent 2.2.13.
2023-11-26 10:03:45 +01:00
Kim Woelders c5ffe964b0 arrange: Use object order list when arranging
Previously the stacking order was used. This meant that windows of the
same size after stacking changes might be shuffled around when doing e.g.
"desk arrange", which does not seem right.
2022-04-04 13:21:18 +02:00
Kim Woelders 08b70658d3 stacking: Hold all objects in the order list
I.e. not just the EWins.
2022-04-04 13:17:53 +02:00
Kim Woelders 66c69bbcc6 stacking: Cache EWin lists
Probably not a major gain but avoids re-generating the list on every
EwinListStack/OrderGet call.
2022-04-04 13:17:53 +02:00
Kim Woelders fd9270d4d2 stacking: Refactor EwinListStackGet() 2022-04-04 12:49:37 +02:00
Kim Woelders f171611d89 stacking: Cosmetics, preparing for other changes 2022-04-04 12:49:37 +02:00
Kim Woelders a67b247ff2 stacking: Rename EwinListStack to EobjListStack
More appropriate, it holds all the EObjs.
2022-04-04 12:49:37 +02:00
Kim Woelders 33dc371131 stacking: Remove unused EwinListStackGetTop() 2022-04-04 12:49:37 +02: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 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 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 850f8bdb31 Debug stuff.
SVN revision: 35399
2008-08-07 23:30:46 +00:00
Kim Woelders e7f01c2d6f Add -brs to indent profile.
SVN revision: 34096
2008-03-23 11:54:24 +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 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 32eed4b5a2 Rename some macros (_Ewin...) for consistency.
SVN revision: 24442
2006-08-07 20:20:16 +00:00
Kim Woelders a1bebc20f9 Fix incorrect damage region when raise actually lowers and vice versa
(do clip region update at proper point in sequence of things).


SVN revision: 23193
2006-06-05 20:57:07 +00:00
Kim Woelders aaf3876519 Window handling function api rename/rewrap continued.
SVN revision: 22202
2006-04-18 17:57:58 +00:00
Kim Woelders 056248c884 2006.
SVN revision: 19591
2006-01-07 07:20:58 +00:00
Kim Woelders ea78c23bc1 Fix some more click-raises issues.
SVN revision: 18915
2005-12-08 18:45:41 +00:00
Kim Woelders 0dfa113313 General bug hunt - Found a few, pedantic cleanups, dead code removal.
SVN revision: 18153
2005-10-30 19:40:49 +00:00
Kim Woelders 8f9d5d87e7 Click-raises tweak (don't set grabs if window cannot be raised).
SVN revision: 17710
2005-10-20 18:18:13 +00:00
Kim Woelders 4d5612bfe1 Fix potential segv while fading.
SVN revision: 16835
2005-09-21 21:13:45 +00:00
Kim Woelders 4864ea4c70 Remove eobj.h from E.h, include where needed.
SVN revision: 16749
2005-09-18 06:35:38 +00:00
Kim Woelders cf2a9850a7 Speed up stacking.
SVN revision: 16690
2005-09-11 17:20:32 +00:00
Kim Woelders 9ebaf4a103 Change most desk references from integer to pointer to desk object.
SVN revision: 16515
2005-09-04 07:27:20 +00:00
Kim Woelders 03614e3d86 Eliminate old client order list. Shuffle some stuff around.
SVN revision: 16058
2005-08-07 14:06:52 +00:00
Kim Woelders 9f7bb47878 Wrap client window access.
SVN revision: 16029
2005-08-04 16:02:02 +00:00
Kim Woelders 5124d0981e Split up E.h a bit.
SVN revision: 15796
2005-07-16 16:57:45 +00:00
Kim Woelders 018408379a Stacking work. Cleanups.
SVN revision: 14309
2005-04-23 07:31:18 +00:00
Kim Woelders df0e3aad2c Simplify handling of top-level windows - part 2.
SVN revision: 14215
2005-04-17 13:58:09 +00:00
Kim Woelders 99d717e187 Copyright updates. More enlightenment->e16.
SVN revision: 13794
2005-03-19 16:40:18 +00:00
Kim Woelders 90095e873b More stacking fixes.
SVN revision: 13523
2005-02-27 17:32:20 +00:00
Kim Woelders 90001a2bfa Desktop and stacking fixes.
SVN revision: 13519
2005-02-27 01:11:51 +00:00
Kim Woelders b86418c7eb Fix floating window stacking. Make menus floating.
SVN revision: 13450
2005-02-20 23:08:45 +00:00
Kim Woelders d21ac86642 Fix desktop stacking, cleanups.
SVN revision: 12822
2005-01-08 08:31:55 +00:00
Kim Woelders fbbe386efb 0.16.8
SVN revision: 12619
2004-12-28 23:46:49 +00:00
Kim Woelders cb55e9df95 Fix nastiness when there are more than 16 windows at startup.
SVN revision: 11107
2004-07-30 17:27:31 +00:00
Kim Woelders 8e438d91ba Fix initial window stacking if not on desk 0 + trivial stuff.
SVN revision: 10610
2004-06-28 18:22:04 +00:00
Kim Woelders 12a857890f Fix segv when there are no client windows.
SVN revision: 10323
2004-05-22 20:19:50 +00:00
Kim Woelders 8d2b4aec12 Fix stacking after layer change.
SVN revision: 9648
2004-04-08 13:07:00 +00:00
Kim Woelders cf9316e6f8 Introduce debug print function.
SVN revision: 9647
2004-04-08 12:54:46 +00:00
Kim Woelders b6f3ab065c Speed up single window restacking operations, stacking code adjustments.
SVN revision: 9601
2004-04-04 21:44:45 +00:00
Kim Woelders 72841ae013 Add some stacking debug info.
SVN revision: 9600
2004-04-04 21:35:45 +00:00
Kim Woelders ad374aaa38 Improve on (click-to-) focus.
SVN revision: 9559
2004-04-01 22:41:22 +00:00
Kim Woelders 2b84f92907 Use new static stacking list wherever possible.
SVN revision: 9491
2004-03-26 21:21:47 +00:00