Commit Graph

175 Commits

Author SHA1 Message Date
Kim Woelders 0aa2f07e6b Refactor atoms handling
Makes adding/changing atom stuff much easier.
2021-08-27 06:55:34 +02: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 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 a9a568ffe3 Debug printout cleanups. 2014-10-17 21:25:12 +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 e1f062fff5 Use NoXID in stead of None. 2013-12-29 08:59:38 +01:00
Kim Woelders 4677c08545 Use our own window property functions in stead of various Xlib ones.
- XGet/SetWMProtocols().
- XGetTransientForHint().

Should be slightly faster.
2013-12-28 00:10:58 +01:00
Kim Woelders 3d86eb55fa Wrap XGetWindowAttributes(). 2013-11-24 16:37:17 +01:00
Kim Woelders 3d03033e7f Some more double to float. 2013-07-08 00:05:20 +02:00
Kim Woelders ccc5560d23 No need for double - change to float. 2013-07-07 23:35:16 +02:00
Kim Woelders 7678242b64 Move/rename atom/property related wrapper functions and types.
Move e16-ecore_hints.c/h to xprop.c/h.
Rename ecore_x_... -> ex_...
Rename Ecore_X_... -> EX_...
Rename ECORE_X_... to EX_...
2013-04-07 20:02:24 +02:00
Kim Woelders ba29ecf04e Fix Globally Active focus mode.
Something changed somewhere in java 7 which seems to require that the
"Globally Active" focus mode is handled properly, otherwise input focus
is entirely broken.

Parts of patch by Tim Howe <vsync@quadium.net>.
2013-04-02 23:59:03 +02:00
Kim Woelders 11a64c01e0 Remove obsolete ecore_x compatibility.
SVN revision: 83804
2013-02-10 09:59:17 +00:00
Kim Woelders 7fd4f7a71d Cosmetics.
SVN revision: 78407
2012-10-24 17:20:38 +00:00
Kim Woelders 10f6a232d0 Move GetTimeMs/Us() to time.c.
SVN revision: 69545
2012-03-21 21:10:59 +00:00
Kim Woelders a649a2e005 Use GetTimeMs/Us() in stead of GetTime().
SVN revision: 55892
2011-01-05 18:05:59 +00:00
Kim Woelders 22306dfe2b Fix fullscreening when client has bogus aspect ratio hints.
Just ignore aspect ratio hints when entering fullscreen mode.
Fixes trouble with mplayer for certain combinations of movie format
and screen size.
Noted by James Bowlin.

SVN revision: 51470
2010-08-20 20:07:08 +00:00
Kim Woelders 36caf0654f Fix resizing when using H/V handles and client has aspect ratio limits.
E.g. pagers.

SVN revision: 51132
2010-08-15 14:57:00 +00:00
Kim Woelders 9cea078c73 Attempt to fix incorrect focusing when using focus list.
In pointer focus modes, when the pointer is over the focus list,
the window below would always get focus.

SVN revision: 47261
2010-03-15 22:19:03 +00:00
Kim Woelders ae1e289a62 Cleanups around colormap installation during focus switch.
SVN revision: 47260
2010-03-15 22:19:00 +00:00
Kim Woelders e334aa96c5 Forgot 2010.
SVN revision: 46527
2010-02-26 21:56:48 +00:00
Kim Woelders c45f034ced Avoid ETranslateCoordinates in window mode.
SVN revision: 46525
2010-02-26 21:54:55 +00:00
Kim Woelders f8f7426f55 Missed some 2008->2009.
SVN revision: 41592
2009-08-04 16:11:35 +00:00
Kim Woelders 79ba2b00bc Another attempt to improve aspect ratio handling (pager sizing).
SVN revision: 40856
2009-05-30 08:07:30 +00:00
Kim Woelders bb219abae2 Aspect ratio handling tweaks (fix for ticket 327)
SVN revision: 40845
2009-05-28 21:56:48 +00:00
Kim Woelders 8ae0ed89f5 Fix breakage when size hints specify an aspect ratio (debian bug 527989).
SVN revision: 40607
2009-05-12 21:21:26 +00:00
Kim Woelders 08a86c83af Fix various gravity issues.
SVN revision: 35069
2008-07-11 19:38:18 +00:00
Kim Woelders fd39d6628a Simplify shape functions.
SVN revision: 34745
2008-06-05 08:55:21 +00:00
Kim Woelders b780491887 Rewrap more X stuff.
SVN revision: 34149
2008-03-30 12:13:16 +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 45ae68ae79 Eliminate redundant RRoot variables.
SVN revision: 34105
2008-03-24 10:24:28 +00:00
Kim Woelders e9230a8aa5 Eliminate Constraints.
SVN revision: 34104
2008-03-24 09:47:50 +00:00
Kim Woelders 6089e2ef04 Deactivate unused code, trivial cleanups.
SVN revision: 31626
2007-09-05 19:12:56 +00:00
Kim Woelders f88f5fc371 Client message processing fixup.
SVN revision: 29558
2007-04-16 16:48:46 +00:00
Kim Woelders d9d96086f7 Don't use atom name in property change processing.
SVN revision: 29557
2007-04-16 16:36:10 +00:00
Kim Woelders 76806c4cda Don't use atom name in client message processing.
SVN revision: 29538
2007-04-15 14:54:11 +00:00
Kim Woelders 225f169b20 Split client message processing into client and root message parts.
SVN revision: 29536
2007-04-15 14:34:46 +00:00
Kim Woelders 83bcbbaee1 2007.
SVN revision: 27952
2007-01-13 19:14:29 +00:00
Kim Woelders e7dfb7595b Rewrap more stuff related to WM_NAME/CLASS.
SVN revision: 27213
2006-11-26 12:42:05 +00:00
Kim Woelders d31b01dfee EwinGetName -> EwinGetTitle.
SVN revision: 27212
2006-11-26 11:30:59 +00:00
Kim Woelders a2594a1e81 Rewrap stuff related to WM_NAME/CLASS.
SVN revision: 27211
2006-11-26 11:11:14 +00:00
Kim Woelders 6b82c26d0f Trivial cleanups.
SVN revision: 27184
2006-11-19 22:55:32 +00:00
Kim Woelders 63a8acc721 Split up, shuffle around, rename.
SVN revision: 27181
2006-11-19 21:55:52 +00:00
Kim Woelders 5c27f72cac Add _NET_WM_SYNC_REQUEST support.
SVN revision: 26842
2006-10-28 14:53:16 +00:00
Kim Woelders a70c359080 Shuffle _NET_WM_SYNC_REQUEST support stuff around (still not active).
SVN revision: 25077
2006-08-23 19:06:21 +00:00
Kim Woelders e7615b6024 Fix clients resizing while having bogus max size hint (KDE info windows).
SVN revision: 24488
2006-08-09 02:45:02 +00:00
Kim Woelders 32eed4b5a2 Rename some macros (_Ewin...) for consistency.
SVN revision: 24442
2006-08-07 20:20:16 +00:00
Kim Woelders 307afc96bd Trivial cleanups.
SVN revision: 22818
2006-05-21 18:44:18 +00:00