Commit Graph

94 Commits

Author SHA1 Message Date
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 d1b7b142cf Wrap XDraw/FillRectangle. 2014-04-21 14:56:32 +02:00
Kim Woelders b3d41f5229 Fix potential use of freed pixmap. 2014-04-21 11:28:38 +02:00
Kim Woelders a14e2978d8 Wrap some calls to XFillRectangle. 2013-12-29 08:59:39 +01:00
Kim Woelders 9cc77c09c3 Tweak error handler API. 2013-12-29 08:59:39 +01:00
Kim Woelders 248ec63e1e Wrap remaining XCopyArea calls. 2013-12-29 08:59:39 +01:00
Kim Woelders b7f11e473d Wrap the last XClearArea call. 2013-12-29 08:59:38 +01:00
Kim Woelders 9fc7dc7f5e Header file tweaks and cosmetics.
Primarily, don't include Xlib.h from other headers than xtypes.h.
2013-12-29 08:59:38 +01:00
Kim Woelders 8afc7eca2e Remove some use of X11 Bool type/values. 2013-12-29 08:59:28 +01:00
Kim Woelders 7b34f58f22 Add EXWindowOk(). 2013-12-28 00:10:57 +01:00
Kim Woelders 265815a282 Rename EDrawableCheck to EXDrawableOk and remove unused parameter. 2013-12-28 00:10:57 +01:00
Kim Woelders 3d86eb55fa Wrap XGetWindowAttributes(). 2013-11-24 16:37:17 +01:00
Kim Woelders 9ca446396b Move/rename EInternAtom -> ex_atom_get, AtomListIntern -> ex_atoms_get. 2013-04-07 20:02:24 +02:00
Kim Woelders f90169a876 Eliminate unnecessary XSync.
SVN revision: 84347
2013-02-24 18:57:39 +00:00
Kim Woelders 82f3f3a359 When using XI2, handle all keyboard and pointer events via XI2.
SVN revision: 81755
2012-12-27 18:21:56 +00:00
Kim Woelders 91fe77b6c5 Trivial cleanups.
SVN revision: 81699
2012-12-25 18:20:05 +00:00
Kim Woelders af5dcb3987 Change some longs to ints where long is not needed.
SVN revision: 66973
2012-01-08 12:54:08 +00:00
Kim Woelders 3580dd8de2 Fix build without composite but with xrender.
SVN revision: 66949
2012-01-07 00:24:38 +00:00
Kim Woelders 96cbca6d1b Remove now unused EKeycodeToString().
Eliminates need for deprecated XKeysymToString().

SVN revision: 66644
2011-12-29 21:35:00 +00:00
Kim Woelders 045c9b69df Let EShapeUpdate return window shape status.
SVN revision: 61183
2011-07-10 06:08:19 +00:00
Kim Woelders fe70dc3ace Expose EShapeUpdate().
SVN revision: 60010
2011-06-06 22:14:56 +00:00
Kim Woelders 19b69bb595 Change XWarpPointer wrapping.
SVN revision: 54736
2010-11-20 07:30:26 +00:00
Kim Woelders ace6e84b86 Add ERegionIntersectOffset().
SVN revision: 53880
2010-10-25 17:44:59 +00:00
Kim Woelders 15ede64ea1 Introduce PmapMaskInit().
SVN revision: 53807
2010-10-23 10:22:52 +00:00
Kim Woelders 288a6c0541 FreePmapMask() -> PmapMaskFree().
SVN revision: 53806
2010-10-23 10:22:50 +00:00
Kim Woelders d46cb831a2 Add EPictureCreatePmap() and EPictureDestroy().
SVN revision: 51492
2010-08-21 14:39:59 +00:00
Kim Woelders 9e291e0b5c Cosmetics.
SVN revision: 50658
2010-07-29 20:39:25 +00:00
Kim Woelders 48f6bbe94c Trivial cleanups.
SVN revision: 49486
2010-06-06 10:05:53 +00:00
Kim Woelders 8551c41582 CM: Skip windows with empty shape.
Windows with empty shape seem to cause rendering artifacts, e.g.
in pager hiwin when the small pager tooltip images have empty shape.

AFAICT windows with empty shape should be handled properly by the
CM... server bug? Anyway, might as well skip them entirely.

SVN revision: 47921
2010-04-11 11:43:00 +00:00
Kim Woelders 0cc43fd186 Look up/show name of request causing error.
SVN revision: 47920
2010-04-11 11:42:57 +00:00
Kim Woelders 25ea64b7b0 Fix pointer warp between screens.
In certain situations (pointer entering root on new screen)
the focus would not be properly set on the new screen.

SVN revision: 47768
2010-04-05 17:48:37 +00:00
Kim Woelders c8fdebba89 Don't #define disp - causes trouble.
SVN revision: 46741
2010-03-01 20:53:14 +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 0ace2f68e6 Add function to create inverted shape pixmap.
SVN revision: 45487
2010-01-23 14:26:28 +00:00
Kim Woelders 4bba9df22b Move EWindowGetNamePixmap() to x.c (and rename).
SVN revision: 45016
2010-01-10 17:17:02 +00:00
Kim Woelders 5fb01c8fbb Show EObj info via ipc when appropriate.
SVN revision: 45015
2010-01-10 17:16:59 +00:00
Kim Woelders 584c502162 Play with XI2.
SVN revision: 44721
2009-12-26 10:35:42 +00:00
Kim Woelders a35d75b07b Move ESelectInputChange(), change arguments to int.
SVN revision: 44603
2009-12-20 12:13:31 +00:00
Kim Woelders be0c63b4b7 Introduce EPictureSetClip().
SVN revision: 44602
2009-12-20 12:13:29 +00:00
Kim Woelders f4b772f240 Move Picture/Region functions to x.c.
SVN revision: 44600
2009-12-20 12:13:25 +00:00
Kim Woelders 92c38850a2 Split iconbox scrollbar update into layout and paint.
SVN revision: 42575
2009-09-20 08:16:00 +00:00
Kim Woelders bfefc200cd EColor->COLOR32
SVN revision: 42460
2009-09-13 13:45:34 +00:00
Kim Woelders b04daa8b86 Remove some obsolete code.
SVN revision: 42289
2009-09-06 09:59:42 +00:00
Kim Woelders 53e593fd6e Fix build with render but without composite.
SVN revision: 41859
2009-08-18 17:27:08 +00:00
Kim Woelders cdaddb3376 Remove unused parameter.
SVN revision: 41510
2009-07-27 16:46:54 +00:00
Kim Woelders 70ad8a0f38 Enable not using ARGB frame for ARGB clients (selected by window match).
SVN revision: 34755
2008-06-05 17:59:51 +00:00
Kim Woelders ced10e2311 Change some values to defines.
SVN revision: 34754
2008-06-05 17:45:01 +00:00
Kim Woelders fd39d6628a Simplify shape functions.
SVN revision: 34745
2008-06-05 08:55:21 +00:00
Kim Woelders d979097f1a Need sync in iconbox animation.
SVN revision: 34657
2008-05-24 18:14:58 +00:00
Kim Woelders 26f7112636 Remove/comment out unused stuff.
SVN revision: 34533
2008-05-10 23:22:31 +00:00