Commit Graph

138 Commits

Author SHA1 Message Date
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 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 80a3b2149e Remove code for shaded, semi-solid, and translucent move/resize modes.
Disabled (by default) at compile time as of 1.0.3.

SVN revision: 81865
2012-12-29 12:06:46 +00:00
Kim Woelders 0c16916258 Enable setting shape on multiple windows.
SVN revision: 81864
2012-12-29 12:06:42 +00:00
Kim Woelders 7fd4f7a71d Cosmetics.
SVN revision: 78407
2012-10-24 17:20:38 +00:00
Kim Woelders af7501be59 Move ewin sliding functions to slide.c.
SVN revision: 70391
2012-04-22 17:39:40 +00:00
Kim Woelders dc9e952685 Add new "technical/opaque" move/resize mode.
Work by Daniel Manjarres.

SVN revision: 62889
2011-08-27 15:42:44 +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 0da5d0c918 Move "shape window" code to separate file.
SVN revision: 50659
2010-07-29 20:39:30 +00:00
Kim Woelders 581f6cfd60 Disable shaded, semi-solid, and translucent move/resize modes by default.
SVN revision: 47702
2010-04-02 15:28:15 +00:00
Kim Woelders 846ca17162 Refactor move/resize shape drawing code.
SVN revision: 47700
2010-04-02 15:28:10 +00:00
Kim Woelders f370be9251 Do not use shared memory pixmaps.
Fixes old translucent moves when shm pixmaps are not available.

SVN revision: 45489
2010-01-23 14:26:34 +00:00
Kim Woelders 649076a27f Add check, no need for return value in EXFreeGC().
SVN revision: 45488
2010-01-23 14:26:31 +00:00
Kim Woelders 93fb484abd Add missed 2009s.
SVN revision: 44039
2009-11-29 10:35:56 +00:00
Kim Woelders bfefc200cd EColor->COLOR32
SVN revision: 42460
2009-09-13 13:45: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 02f2b0d882 Eliminate RRoot and VRoot.
SVN revision: 34146
2008-03-29 17:18:58 +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 db8cc38ab6 Forgot 2008.
SVN revision: 33886
2008-03-01 16:38:58 +00:00
Kim Woelders f817e6c584 Fix memory leak if translucent move initialisation fails.
SVN revision: 33882
2008-03-01 15:38:59 +00:00
Kim Woelders 5ab71de162 Cleanups.
SVN revision: 33740
2008-02-13 20:51:00 +00:00
Kim Woelders e852bc3c7d Define mask bitmaps in source to avoid depending on x11 bitmap package.
SVN revision: 33149
2007-12-15 12:31:33 +00:00
Kim Woelders 6089e2ef04 Deactivate unused code, trivial cleanups.
SVN revision: 31626
2007-09-05 19:12:56 +00:00
Kim Woelders 7d0aff6e76 XColor -> EColor, EGet/SetColor -> macros.
SVN revision: 31566
2007-08-28 17:58:23 +00:00
Kim Woelders adebdda1c7 Use saveunders if available.
SVN revision: 30757
2007-07-11 09:28:54 +00:00
Kim Woelders 9eec06491e Add dialog option to select non-grabbing move/resize modes.
SVN revision: 30756
2007-07-11 09:21:27 +00:00
Kim Woelders 56cf417678 Avoid move/resize updates when nothing has changed.
Disable some code that should be redundant.


SVN revision: 30465
2007-06-25 20:00:50 +00:00
Kim Woelders 328697893f Add shaped window version of technical move/resize mode.
SVN revision: 30455
2007-06-24 20:10:39 +00:00
Kim Woelders 0c11c773dc Split up, move some code around.
SVN revision: 30447
2007-06-23 20:35:51 +00:00
Kim Woelders d11c7f3664 Oops - fix shaded.
SVN revision: 30384
2007-06-17 21:20:46 +00:00
Kim Woelders 6d90f4c938 Fix bug in left/top resizing when returning to starting point. Simplify.
SVN revision: 30383
2007-06-17 20:03:29 +00:00
Kim Woelders bd90618278 Handle shape of small windows properly (e.g. shaded).
SVN revision: 30377
2007-06-17 12:41:14 +00:00
Kim Woelders 0303e9e743 Fix move/resize color.
SVN revision: 30344
2007-06-16 11:16:17 +00:00
Kim Woelders 4c80c1de2a Fix window sliding in new boxed mode.
SVN revision: 30341
2007-06-16 08:41:53 +00:00
Kim Woelders ea4dd7f6ef Use shaped window in stead of server grab/line draws for boxed move/resize mode.
SVN revision: 30337
2007-06-15 19:42:41 +00:00
Kim Woelders fbced44281 Cleanups, paving the way for other changes.
SVN revision: 30312
2007-06-11 22:28:35 +00:00
Kim Woelders 3809829775 Cleanups.
SVN revision: 30283
2007-06-09 14:17:38 +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 f02b00ad9d Change internal window handling API. Now passing Win (pointer to EXID struct) in stead of window XID.
SVN revision: 22397
2006-04-29 19:39:21 +00:00
Kim Woelders 068d2aef43 Window handling function api rename/rewrap continued.
SVN revision: 22352
2006-04-25 22:40:06 +00:00
Kim Woelders 0218e123c2 Start renaming/rewrapping stuff preparing for other api changes.
SVN revision: 22185
2006-04-17 21:55:34 +00:00
Kim Woelders 2f78638c0f Wrap imlib.
SVN revision: 21576
2006-03-29 19:13:17 +00:00
Kim Woelders d22580d185 Header file and other cleanups.
SVN revision: 21409
2006-03-19 14:59:48 +00:00
Kim Woelders 2b9692f28f Add move/resize functions with action source parameter.
SVN revision: 20597
2006-02-19 22:23:50 +00:00
Kim Woelders 056248c884 2006.
SVN revision: 19591
2006-01-07 07:20:58 +00:00