Commit Graph

116 Commits

Author SHA1 Message Date
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 be426bbbf9 selections: Improve acquisition
When acquiring a previously owned selection we should wait for the
previous selection owner window to be destroyed.
2023-09-23 11:05:44 +02:00
Kim Woelders ed4c748a91 Introduce HintsSetDesktopNames() 2022-06-10 20:49:38 +02:00
Kim Woelders 8b553d3d97 Remove gnome1 hint support
Probably about time - obsolete and disabled by default for almost 20 years.
2022-02-14 16:52:15 +01:00
Kim Woelders 0aa2f07e6b Refactor atoms handling
Makes adding/changing atom stuff much easier.
2021-08-27 06:55:34 +02:00
Kim Woelders 204999090e Shuffle some property stuff around
Just somewhat cleaner.
2021-08-21 20:47:00 +02:00
Kim Woelders 358b60baf9 Introduce E_ARRAY_SIZE() and MOD_ITEMS()
Just a bit tidier.
2021-03-19 06:36:46 +01:00
Kim Woelders 2dad8c5f29 Use border name wrapper function some more 2020-09-25 16:00:35 +02: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 b3d41f5229 Fix potential use of freed pixmap. 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 265815a282 Rename EDrawableCheck to EXDrawableOk and remove unused parameter. 2013-12-28 00:10:57 +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 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 d4f1cd6a78 Fix using e16 with xcompmgr.
Various fixes around handling of _NET_WM_WINDOW_OPACITY.
- Propagate client window changes to frame window.
- Let zero value mean "do the default", i.e. use focused/unfocused config values.
- Only set client window property if opacity is set explicitly
  (matches, snaps, or ipc).

SVN revision: 84319
2013-02-23 11:35:49 +00:00
Kim Woelders 7fd4f7a71d Cosmetics.
SVN revision: 78407
2012-10-24 17:20:38 +00:00
Kim Woelders 11986c20d0 Update internal area hint when changing area.
This fixes that the area is not always correct after a restart when
there has been no proper exit (e.g. restart from a gdb session).

SVN revision: 63606
2011-09-25 18:27:34 +00:00
Kim Woelders 1db1c42fc0 Fix root pixmap breakage.
SVN revision: 59978
2011-06-05 20:56:49 +00:00
Kim Woelders b9538622d8 Fix window positions on hidden desks when restarting after a crash.
SVN revision: 59972
2011-06-05 14:54:02 +00:00
Kim Woelders 01f840a327 Only set _NET_DESKTOP_VIEWPORT when needed.
SVN revision: 59971
2011-06-05 14:54:00 +00:00
Kim Woelders 48f6bbe94c Trivial cleanups.
SVN revision: 49486
2010-06-06 10:05:53 +00:00
Kim Woelders cdaddb3376 Remove unused parameter.
SVN revision: 41510
2009-07-27 16:46:54 +00:00
Kim Woelders 25c27e2cfd Change some function names.
SVN revision: 37677
2008-11-16 17:20:37 +00:00
Kim Woelders 08a86c83af Fix various gravity issues.
SVN revision: 35069
2008-07-11 19:38:18 +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 e7f01c2d6f Add -brs to indent profile.
SVN revision: 34096
2008-03-23 11:54:24 +00:00
Kim Woelders 8380235420 Use XInternAtoms to speed up initial atom fetch.
SVN revision: 33817
2008-02-23 11:57:41 +00:00
Kim Woelders 62a6c2150e Prepare for handling additional window flags in snapshots/across restart.
SVN revision: 33671
2008-02-03 17:03:23 +00:00
Kim Woelders 9d9e4686e7 Fix several issues around setting internal window title/class.
SVN revision: 30022
2007-05-18 21:18:24 +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 ab5c4a0a05 Handle switching between versions with minor ENL_DATA differences a bit better.
SVN revision: 29437
2007-04-07 14:18:45 +00:00
Kim Woelders 7b951769f7 Fix resizing normal->maximized->fullscreen and back.
Fix preserving maximised state across restart.


SVN revision: 28787
2007-03-17 15:49:41 +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 163f842dc6 Disable translation of some error message stuff that might as well be left untranslated.
SVN revision: 27397
2006-12-09 21:32:03 +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 63a8acc721 Split up, shuffle around, rename.
SVN revision: 27181
2006-11-19 21:55:52 +00:00
Kim Woelders 6a625a3b89 Fix applying matches to internal client windows in certain situations.
SVN revision: 26422
2006-10-08 13:01:42 +00:00
Kim Woelders f137a81f5b Remove pointless use of SubstructureRedirectMask
SVN revision: 26338
2006-10-03 20:13:45 +00:00
Kim Woelders 6cf576336f Generalize selection handling. Manage _NET_WM_CM_Sx selection.
- Should fix issues with recent gtk ARGB windows.


SVN revision: 25746
2006-09-11 18:10:28 +00:00
Kim Woelders 6caf9ed8d4 Eliminate redundant macro (Xwin).
SVN revision: 24447
2006-08-07 20:47:12 +00:00
Kim Woelders 32eed4b5a2 Rename some macros (_Ewin...) for consistency.
SVN revision: 24442
2006-08-07 20:20:16 +00:00