Kim Woelders
f3de71d05f
Consistently put __EXPORT__ in .c files
2021-01-09 09:50:04 +01:00
Kim Woelders
99c7523b07
Forgot some 2020
2020-12-29 16:23:17 +01:00
Kim Woelders
0c33378819
Cache visual in EVisualFindARGB()
2020-12-11 17:57:13 +01:00
Kim Woelders
88dba1cfff
Re-indent with indent-2.2.12
2020-01-23 21:30:02 +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
70ee606634
Warning fixes for gcc 7.
2017-02-12 19:09:08 +01:00
Kim Woelders
4c8af1fda8
Require render version 0.11 before using XRenderCreateSolidFill().
...
Apparently use of XRenderCreateSolidFill() may trigger high Xorg cpu
usage (seen on Xorg 1.7.7 with render 0.10, driver unknown).
Exact reason unknown, maybe a driver problem.
Requiring render version >= 0.11 may just be a random way to avoid
some brokenness in older Xorgs.
2015-06-18 21:00:39 +02:00
Kim Woelders
4b319d794b
Wrap some calls to XRenderCreatePicture().
2015-01-25 00:05:10 +01: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
3584d11e80
Minor tweaks in EShapePropagate().
...
Mostly some more debug.
2015-01-02 11:28:49 +01:00
Kim Woelders
f2e2e1bae4
Use XRenderCreateSolidFill() if available.
2014-11-22 16:33:08 +01:00
Kim Woelders
54ac7a604c
Fix some normally disabled debug format strings.
2014-10-15 22:47:25 +02: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
91514a9427
Minor tweak in EXFillAreaSolid().
2014-04-21 11:27:57 +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
e1f062fff5
Use NoXID in stead of None.
2013-12-29 08:59:38 +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
11a64c01e0
Remove obsolete ecore_x compatibility.
...
SVN revision: 83804
2013-02-10 09:59:17 +00:00
Kim Woelders
5d5e0dcacc
When using XI2, handle focus change events via XI2.
...
SVN revision: 81757
2012-12-27 18:22:01 +00:00
Kim Woelders
3d6195ba33
When using XI2, handle enter/leave events via XI2.
...
SVN revision: 81756
2012-12-27 18:21:58 +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
c304c45531
Cleanup around XI2 event selection.
...
SVN revision: 81754
2012-12-27 18:21:53 +00:00
Kim Woelders
a12e3a7a42
Prefix local functions with _.
...
SVN revision: 81675
2012-12-24 11:05:48 +00:00
Kim Woelders
a280a57ccf
Use __func__ for function names in debug stuff.
...
SVN revision: 81674
2012-12-24 11:05:42 +00:00
Kim Woelders
aa333a4c2b
Fix test for XI2 availability.
...
SVN revision: 81672
2012-12-24 10:41:54 +00: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
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
86da917809
More warning fixes for gcc-4.6.
...
SVN revision: 56965
2011-02-12 16:43:52 +00:00
Kim Woelders
19b69bb595
Change XWarpPointer wrapping.
...
SVN revision: 54736
2010-11-20 07:30:26 +00:00
Kim Woelders
534611b54d
Debug stuff cleanups.
...
SVN revision: 54045
2010-10-30 18:41:15 +00:00
Kim Woelders
3cec1775de
Fix restart (broken in 1.0.6).
...
SVN revision: 53931
2010-10-27 17:47:35 +00:00
Kim Woelders
ace6e84b86
Add ERegionIntersectOffset().
...
SVN revision: 53880
2010-10-25 17:44:59 +00:00