Commit Graph

143 Commits

Author SHA1 Message Date
Kim Woelders c9ab3da348 Pass screen geometry around in Area struct 2023-11-26 10:04:33 +01:00
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 edc06f4950 text: Drop unused fsize argument in Text functions 2023-09-21 14:32:11 +02:00
Kim Woelders 956eb86c4d focus list: Fix a couple of glitches with outline window
- Hide the outline window on Escape from focus list
- Hide the outline window when cycling to an offscreen window
2022-03-31 11:03:14 +02:00
Kim Woelders 358b60baf9 Introduce E_ARRAY_SIZE() and MOD_ITEMS()
Just a bit tidier.
2021-03-19 06:36:46 +01:00
Kim Woelders aae5938e97 Fix technical/shapewin move mode with window groups
The technical etc. move modes using a shaped window ("avoid server grab"
mode) only properly shaped the shape window of the first group member.

Broken since 0c16916258 - v1.0.12.

This commit changed the mode of operation from one shape window in total
to one per group member, i.e. shapes should no longer be combined.

..and drop useless fl variable in _MoveResizeMoveResume().
2020-05-06 15:28:53 +02:00
Kim Woelders 22b5e58dcd Refactor/rename/use _EFREE type macros 2018-12-22 11:44:22 +01:00
Kim Woelders ca5040e643 Remove pseudotransparency support - 3
- Remove obsolete image type argument.
2018-02-04 13:32:59 +01:00
Kim Woelders c18c409fdf Window list: Show windows on same head as pointer first. 2016-05-06 20:47:14 +02:00
Kim Woelders 6f225f3c74 Refactorization in WarpFocus(). 2016-05-06 20:47:14 +02: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 1d3c4bb49c Cosmetics (key->keysym). 2014-04-23 07:39:36 +02:00
Kim Woelders 6bd90781c1 Move shape window stuff to separate header file. 2014-04-21 11:28:38 +02:00
Kim Woelders e1f062fff5 Use NoXID in stead of None. 2013-12-29 08:59:38 +01:00
Kim Woelders ba7d9cc4a9 Fix various issues reported by clang. Minor cleanups.
SVN revision: 81671
2012-12-24 10:41:50 +00:00
Kim Woelders 6c56718b7c Change move/resize mode open coded values to defined values.
Partially based on patch by Daniel Manjarres.

SVN revision: 59991
2011-06-06 14:39:57 +00:00
Kim Woelders a2968d89f2 Add options to ignore struts when maximising/fullscreening.
Whether or not to ignore struts can now be configured independently
for maximising, fullscreening, and general window placement.

Patch by Daniel Manjarres.
Also suggested by José Romildo Malaquias.

SVN revision: 57536
2011-03-06 08:26:47 +00:00
Kim Woelders 4ac03926da Adjustments for indent 2.2.11.
SVN revision: 50909
2010-08-08 19:03:34 +00:00
Kim Woelders 3881d715f8 Enable showing outline for window selected in focuslist.
SVN revision: 50660
2010-07-29 20:39:34 +00:00
Kim Woelders 0c59984a65 Silence clang.
SVN revision: 50656
2010-07-29 20:39:21 +00:00
Kim Woelders 6f9ab28110 Add force parameter to EwinWarpTo().
SVN revision: 49488
2010-06-06 10:08:17 +00:00
Kim Woelders 60054a9bdc Validate focus list icon mode. Use defs for icon modes.
SVN revision: 47354
2010-03-20 10:41:12 +00:00
Kim Woelders 8624b523c2 Change iconbox fallback icon mode back to snapshot.
SVN revision: 45117
2010-01-14 18:52:50 +00:00
Kim Woelders 6f08eafb63 Fix various icon display mode issues.
SVN revision: 43640
2009-11-12 20:48:26 +00:00
Kim Woelders ddc6c4500d Fix chosing focus list icon mode (noted by Don Harrop).
SVN revision: 43356
2009-10-30 20:38:38 +00:00
Kim Woelders cdaddb3376 Remove unused parameter.
SVN revision: 41510
2009-07-27 16:46:54 +00:00
Kim Woelders 24e0a0d7e8 Forgot some 2008->2009's.
SVN revision: 40605
2009-05-12 21:21:21 +00:00
Kim Woelders 9878ca7d5c Fix shift-alt-tab hack when caps/numlock etc. is on.
SVN revision: 40504
2009-05-04 16:19:22 +00:00
Kim Woelders e438f8898c Hack to make shift-alt-tab (actually anyothermodifiers-key)
cycle backwards though window list (ticket 271).


SVN revision: 40094
2009-04-15 19:39:34 +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 fd39d6628a Simplify shape functions.
SVN revision: 34745
2008-06-05 08:55:21 +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 53b7d488ef Introduce EwinWarpTo().
SVN revision: 33535
2008-01-19 13:44:54 +00:00
Kim Woelders 4880283400 Screen stuff naming consistency and code tweaks.
SVN revision: 31874
2007-09-29 19:13:21 +00:00
Kim Woelders 3c88e36613 Simplify some imageclass functions (w,h are always window size).
SVN revision: 31677
2007-09-10 20:26:53 +00:00
Kim Woelders 09cbba40d4 Various anti-alias fixups after recent changes.
SVN revision: 29439
2007-04-07 16:18:53 +00:00
Kim Woelders 799f662fce Use anti-alias only when appropriate.
SVN revision: 29429
2007-04-06 22:20:07 +00:00
Kim Woelders a19cdebd92 Add option to show windows on all desks in focus list.
SVN revision: 28583
2007-03-06 03:33:31 +00:00
Kim Woelders 3255b57c36 Make focus list key handling somewhat less ugly.
SVN revision: 28182
2007-02-01 02:35:16 +00:00
Kim Woelders f8d4c732ad Highlight selected focus list item when clicked (noted by Warren Crossing).
SVN revision: 28165
2007-01-29 05:27:47 +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 d31b01dfee EwinGetName -> EwinGetTitle.
SVN revision: 27212
2006-11-26 11:30:59 +00:00
Kim Woelders 63a8acc721 Split up, shuffle around, rename.
SVN revision: 27181
2006-11-19 21:55:52 +00:00
Kim Woelders 2d03330566 Change config parameter position (purely cosmetic).
SVN revision: 26149
2006-09-25 18:19:20 +00:00
Kim Woelders 2220fc9762 Pass Win to image rendering functions (for visual info).
SVN revision: 22583
2006-05-13 13:25:30 +00:00
Kim Woelders 1b0b5df104 Pass Win to text rendering functions (for visual info).
SVN revision: 22490
2006-05-08 16:26:22 +00:00
Kim Woelders 2a431b38e7 Trivial renaming.
SVN revision: 22448
2006-05-03 20:52:15 +00:00