Commit Graph

77 Commits

Author SHA1 Message Date
Kim Woelders 0a65af57e5 Focus: Fix focus on new clients requesting max size 2021-07-15 12:59:58 +02:00
Pierre Neyron 4c3f0cbb7a add toggle_size half_X feature
Maximize window to a half of the screen (North, South, East, West)
wop * toggle_size half_N
wop * toggle_size half_S
wop * toggle_size half_E
wop * toggle_size half_W
2017-06-25 13:57:31 +02:00
Kim Woelders c1ee9b7b04 Fix en/disabling of maximization animation.
SVN revision: 80903
2012-12-13 21:32:19 +00:00
Kim Woelders 0af135d24e Minor refactoring in MaxSizeHV().
SVN revision: 80902
2012-12-13 21:32:17 +00:00
Kim Woelders 3f8541b565 Move EObj sliding functions to slide.c too.
SVN revision: 73454
2012-07-07 14:05:56 +00:00
Kim Woelders 881a4f10bd Change ewin sliding function API.
- Add speed, mode, and flags parameters to all functions.
- Change slideouts to use the shading speed.

SVN revision: 70826
2012-05-06 17:20:18 +00:00
Kim Woelders 0786a813d0 EwinMove/Resize - Change various global/ewin flags to function parameter.
SVN revision: 70390
2012-04-22 17:39:37 +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 a41187bbb0 Fix bug in pareto_maximizer().
The old code did not differentiate between windows that overlapped the
target window from above of below. Only those that are below it should
have their own overlapping windows recursively added to the set of
ignored windows.

Patch by Daniel Manjarres.

SVN revision: 66642
2011-12-29 21:34:55 +00:00
Kim Woelders ecb4087714 Cosmetics.
SVN revision: 61647
2011-07-24 10:20:57 +00:00
Kim Woelders 961e2cf215 Enable animation of resize operation.
Based on patches by Daniel Manjarres.

SVN revision: 61191
2011-07-10 06:24:00 +00:00
Kim Woelders 8989b80e80 New maximisation algorithm.
Based on patches by Daniel Manjarres.

SVN revision: 61190
2011-07-10 06:23:57 +00:00
Kim Woelders b84d22e594 Add option to enable "smart resizing".
Based on patches by Daniel Manjarres.

SVN revision: 61189
2011-07-10 06:23:55 +00:00
Kim Woelders 3bd94534f6 Move HV resize code to separate function.
SVN revision: 61188
2011-07-10 06:23:52 +00:00
Kim Woelders 6f6b3f1198 Move span calculations to functions.
SVN revision: 57924
2011-03-20 21:54:01 +00:00
Kim Woelders aef884b09a Move duplicated stuff to function. Cleanups.
SVN revision: 57923
2011-03-20 21:53:59 +00:00
Kim Woelders 318288c1c6 Improve maximzation.
This makes H/V maximization independent, and improves simultaneous
H/V maximization.

Based on patch by Daniel Manjarres.

SVN revision: 57922
2011-03-20 21:53:56 +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 aafb7aa775 Optionally don't cover dragbar when maximising (patch by Pietro Cerutti).
SVN revision: 37833
2008-11-27 20:10:15 +00:00
Kim Woelders dda2eb8c84 Only one maximisation function.
SVN revision: 34891
2008-06-22 22:23:24 +00:00
Kim Woelders 6eaca2639c Eliminate redundant VRoot vars.
SVN revision: 34106
2008-03-24 11:12:40 +00:00
Kim Woelders 4772f4e39d Enable setting default maximise policy.
SVN revision: 31780
2007-09-22 08:55:16 +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 0be44b1c43 Inhibit unmaximizing in various situations, e.g. when shaded.
SVN revision: 28761
2007-03-16 03:48:48 +00:00
Kim Woelders 83bcbbaee1 2007.
SVN revision: 27952
2007-01-13 19:14:29 +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 08e7a93c29 Clear maximized state on resize.
SVN revision: 21608
2006-03-30 22:35:20 +00:00
Kim Woelders 056248c884 2006.
SVN revision: 19591
2006-01-07 07:20:58 +00:00
Kim Woelders ff86323831 Split off borders.h.
SVN revision: 19238
2005-12-22 18:43:15 +00:00
Kim Woelders b5ed1b5fe7 Change window restart property to include only state not available elsewhere.
Fix various fullscreen/maximized state bugs wrt. restart and locking.


SVN revision: 18231
2005-11-02 23:03:03 +00:00
Kim Woelders 9dca3e88f1 EWM hint support is no longer optional. Split off hints.h.
SVN revision: 18049
2005-10-27 23:18:35 +00:00
Kim Woelders 3eb7cd2d95 Fix various issues with iconification of transients and state updates.
SVN revision: 18047
2005-10-27 22:26:37 +00:00
Kim Woelders c47c235402 Cleanup.
SVN revision: 15907
2005-07-26 17:01:18 +00:00
Kim Woelders 5124d0981e Split up E.h a bit.
SVN revision: 15796
2005-07-16 16:57:45 +00:00
Kim Woelders c195958e98 Trivial namespace cleanup.
SVN revision: 15704
2005-07-10 08:31:15 +00:00
Kim Woelders 3529ea8228 Partial cleanup of client window property/state stuff.
Set _NET_WM_ALLOWED_ACTIONS values properly.


SVN revision: 15674
2005-07-08 16:48:19 +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 ee357f86a7 Initial fullscreen window state handling.
SVN revision: 10403
2004-05-31 20:30:12 +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 ad374aaa38 Improve on (click-to-) focus.
SVN revision: 9559
2004-04-01 22:41:22 +00:00
Kim Woelders 2b84f92907 Use new static stacking list wherever possible.
SVN revision: 9491
2004-03-26 21:21:47 +00:00
Kim Woelders 3b1f6e7c72 Enable compiling with -Wwrite-strings (trivial fixups).
SVN revision: 9414
2004-03-21 01:39:40 +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 a619f8b193 Bye bye KDE(1).
SVN revision: 7825
2003-11-08 10:56:25 +00:00
Kim Woelders 3da03b6dc9 Copyrights->2003.
SVN revision: 7807
2003-11-05 17:24:47 +00:00
Kim Woelders 91ed8c8cb5 Minor bug fixes to maximise code.
Spanning Xinerama screens now requires "xinerama".


SVN revision: 7302
2003-08-08 18:30:34 +00:00