Commit Graph

52 Commits

Author SHA1 Message Date
Kim Woelders c9ab3da348 Pass screen geometry around in Area struct 2023-11-26 10:04:33 +01:00
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 f8d7cb8c00 arrange: Introduce screen struts
Can be used to  restrict area where windows are normally placed.
Works like struts set by clients with _NET_WM_STRUT.

Sugested by Milan Maljković.
2022-05-03 19:20:19 +02:00
Kim Woelders e9c282c773 Forgot some 2019 2019-05-10 06:35:40 +02:00
Kim Woelders d77444f16d Fix potential memory leak in _ScreenInitXrandr() 2019-04-25 09:06:06 +02:00
Kim Woelders 726b7e53d3 Miscellaneous screen stuff.
- Add ScreenGetCurrent().
- Add ScreenGetHead().
- Make ScreenAdd() private.
2016-05-06 20:47:13 +02:00
Kim Woelders c0d17a2c62 Remove unused Mode.display.xinerama_active. 2016-05-06 20:47:13 +02:00
Kim Woelders 5a87444e63 Use RandR data to populate screens structure.
... and prefer it over Xinerama data.

This should make the Xinerama screen handling stuff work also when
RandR is enabled but Xinerama is not.
2016-04-15 19:24:17 +02:00
Kim Woelders 7c6deaabbf Extension version checking cleanups. 2014-11-20 21:45:25 +01:00
Kim Woelders c74b331998 Tweak screen info printout. 2014-04-23 16:20:44 +02:00
Kim Woelders 725ed4f835 Let "eesh screen" show some randr info. 2013-07-11 17:50:38 +02:00
Kim Woelders d77e1229ae Cosmetics. 2013-07-11 17:50:38 +02:00
Kim Woelders e3e17f2ff9 Add some forgotten 2011.
SVN revision: 61446
2011-07-17 18:43:21 +00:00
Kim Woelders a2968d89f2 Add options to ignore struts when maximising/fullscreening.
Whether or not to ignore struts can now be configured independently
for maximising, fullscreening, and general window placement.

Patch by Daniel Manjarres.
Also suggested by José Romildo Malaquias.

SVN revision: 57536
2011-03-06 08:26:47 +00:00
Kim Woelders 0142a74dc7 Collect xinerama stuff.
SVN revision: 50354
2010-07-18 18:53:00 +00:00
Kim Woelders f8f7426f55 Missed some 2008->2009.
SVN revision: 41592
2009-08-04 16:11:35 +00:00
Kim Woelders cc87d01dab Fix problem with incorrect xinerama screen info.
In multihead setup XineramaQueryScreens seems to report screen 0 info
on screen 1. In this case XineramaIsActive even returns False so
XineramaQueryScreens should return NULL (nvidia problem?).

SVN revision: 40855
2009-05-30 08:07:28 +00:00
Kim Woelders b17d5d74b7 Tweaks around xinerama/screen handling.
SVN revision: 37610
2008-11-13 20:50:01 +00:00
Kim Woelders 1676ba36e7 HAVE_XINERAMA->USE_XINERAMA as for the other extensions.
SVN revision: 37554
2008-11-08 17:00:09 +00:00
Kim Woelders b2cba87582 Correctness and trivial stuff.
SVN revision: 36795
2008-10-18 21:20:53 +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 336498de43 Fix memory leak when xinerama is enabled (normally hit only once).
SVN revision: 32319
2007-11-03 10:28:27 +00:00
Kim Woelders 0f5d3cd0dd Fix xinerama head selection in certain situations.
SVN revision: 31886
2007-09-30 12:32:35 +00:00
Kim Woelders 857e03edda Oops - fix.
SVN revision: 31885
2007-09-30 12:31:32 +00:00
Kim Woelders 4880283400 Screen stuff naming consistency and code tweaks.
SVN revision: 31874
2007-09-29 19:13:21 +00:00
Kim Woelders 3f4eb10e09 Eliminate unused parameter in IPC functions. Move some stuff out of E.h.
SVN revision: 30015
2007-05-18 08:25:06 +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 e893fd6223 Cleanups, HAS_...->HAVE_...
SVN revision: 27575
2006-12-27 16:34:48 +00:00
Kim Woelders 07acdc4c7a Trivial re-wrapping of XQueryPointer().
SVN revision: 25092
2006-08-24 21:52:28 +00:00
Kim Woelders fb8bd3e398 Rename a few configuration items.
SVN revision: 25079
2006-08-23 21:04:53 +00:00
Kim Woelders f02b00ad9d Change internal window handling API. Now passing Win (pointer to EXID struct) in stead of window XID.
SVN revision: 22397
2006-04-29 19:39:21 +00:00
Kim Woelders 4f4c6523e4 Window handling function api rename/rewrap continued.
SVN revision: 22329
2006-04-23 23:18:23 +00:00
Kim Woelders 95bfd39acd Fix several bugs with maximizing windows.
SVN revision: 22310
2006-04-23 08:14:03 +00:00
Kim Woelders 31f912bc83 Add feature to subdivide screen (xinerama style).
SVN revision: 22307
2006-04-22 22:00:02 +00:00
Kim Woelders f3ccd1aef0 Fix badness when showing screen info and xinerama is active.
SVN revision: 22301
2006-04-22 14:33:07 +00:00
Kim Woelders d22580d185 Header file and other cleanups.
SVN revision: 21409
2006-03-19 14:59:48 +00:00
Kim Woelders 056248c884 2006.
SVN revision: 19591
2006-01-07 07:20:58 +00:00
Kim Woelders 28534943d2 Wrap XWarpPointer and XQueryPointer.
SVN revision: 16060
2005-08-07 20:33:21 +00:00
Kim Woelders 5124d0981e Split up E.h a bit.
SVN revision: 15796
2005-07-16 16:57:45 +00:00
Kim Woelders 99d717e187 Copyright updates. More enlightenment->e16.
SVN revision: 13794
2005-03-19 16:40:18 +00:00
Kim Woelders fbbe386efb 0.16.8
SVN revision: 12619
2004-12-28 23:46:49 +00:00
Kim Woelders 8d9b57cdb5 Handle struts, optionally ignore.
SVN revision: 10673
2004-07-03 00:58:19 +00:00
Kim Woelders a68bf02ad8 Nested E. Maybe not really useful (yet?) but good for debugging and fun toy.
SVN revision: 10650
2004-06-30 13:04:18 +00:00
Kim Woelders 2b847dfbe9 Add X_CFLAGS to INCLUDES. Rename root to VRoot to avoid warnings with -Wshadow.
SVN revision: 10053
2004-05-04 19:04:42 +00:00
Kim Woelders 531c81778c Enable compiling with -Wshadow (trivial name clash fixups).
SVN revision: 9409
2004-03-20 15:49:05 +00:00
Kim Woelders 2328bcb7c9 2003 -> 2004.
SVN revision: 8569
2004-01-19 22:30:35 +00:00
Kim Woelders 57d8a9e8c5 Split mode struct into configuration and state stuff.
SVN revision: 8358
2004-01-12 20:43:18 +00:00