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
34f007d088
Add window option to pass-through pointer events
2022-04-16 11:26:17 +02:00
Kim Woelders
f9b5e2883a
Eliminate EGetGeometry()
2021-08-14 16:55:26 +02:00
Kim Woelders
b7c18a9c12
Change EXGetGeometry() to EXGetSize()
...
Only w and h are ever used.
Also remove now unnecessary initializations of returned values.
2021-08-14 16:55:24 +02:00
Kim Woelders
7cbd476788
x.c: Remove ancient unused ECreateFocusWindow()
2021-08-14 16:11:06 +02:00
Kim Woelders
726bb9ea13
FX: Fix clipping with compositing enabled
2021-05-07 07:12:11 +02:00
Kim Woelders
94b810cc37
Add EoGetParent() etc.
2021-03-03 19:34:53 +01:00
Kim Woelders
f3de71d05f
Consistently put __EXPORT__ in .c files
2021-01-09 09:50:04 +01:00
Kim Woelders
88dba1cfff
Re-indent with indent-2.2.12
2020-01-23 21:30:02 +01:00
Kim Woelders
4b319d794b
Wrap some calls to XRenderCreatePicture().
2015-01-25 00:05:10 +01:00
Kim Woelders
ab86c9044c
Add ERegionCreateFromBitmap() and EPictureFillRect().
2014-08-17 16:14:59 +02:00
Kim Woelders
83e1e6e88f
Add argb option to EPictureCreateBuffer().
2014-08-17 16:14:59 +02:00
Kim Woelders
2bf2bfd88e
Use initially created GC for various operations.
...
A general "root window GC" is fine for most operations needing one.
Using this we can avoid some GC caching and in certain situations
numerous GC create/use/destroy sequences.
As part of this the default GC subwindow_mode is changed to
IncludeInferiors, which reduces the number of places we need a
non-default GC.
2014-04-23 19:45:36 +02: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
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