Commit Graph

115 Commits

Author SHA1 Message Date
Kim Woelders 04f040199c moveresize: Remove long time unused swapmove code
Not active because doSwapMove() has been disabled for ages.

Not resurrecting, doesn't seem to work properly.
2022-04-22 07:35:00 +02:00
Kim Woelders 9cfe1e2577 Fix some problems with resize-by-keyboard
If using the pointer while in resize-by-keyboard mode one could run into
a couple of issues, among others that the window outline frame might not
be taken down.

To fix this the pointer is now also grabbed in resize-by-keyboard mode
but pointer events ignored.
2022-04-19 17:05:55 +02:00
Kim Woelders 9c6cd28436 Do focus windows to be manually placed
Broken by ebe82a7bbb, see
https://phab.enlightenment.org/T8973
2021-12-21 06:54:52 +01:00
Kim Woelders aae5938e97 Fix technical/shapewin move mode with window groups
The technical etc. move modes using a shaped window ("avoid server grab"
mode) only properly shaped the shape window of the first group member.

Broken since 0c16916258 - v1.0.12.

This commit changed the mode of operation from one shape window in total
to one per group member, i.e. shapes should no longer be combined.

..and drop useless fl variable in _MoveResizeMoveResume().
2020-05-06 15:28:53 +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 80a3b2149e Remove code for shaded, semi-solid, and translucent move/resize modes.
Disabled (by default) at compile time as of 1.0.3.

SVN revision: 81865
2012-12-29 12:06:46 +00:00
Kim Woelders af7501be59 Move ewin sliding functions to slide.c.
SVN revision: 70391
2012-04-22 17:39:40 +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 dc9e952685 Add new "technical/opaque" move/resize mode.
Work by Daniel Manjarres.

SVN revision: 62889
2011-08-27 15:42:44 +00:00
Kim Woelders 6c56718b7c Change move/resize mode open coded values to defined values.
Partially based on patch by Daniel Manjarres.

SVN revision: 59991
2011-06-06 14:39:57 +00:00
Kim Woelders f6346e6019 Fix potential crash during manual window placement.
Test case:
Run
 while true; do xterm -e false; done
and move pointer.

Noted by Daniel Manjarres.

SVN revision: 59977
2011-06-05 20:56:46 +00:00
Kim Woelders 48f6bbe94c Trivial cleanups.
SVN revision: 49486
2010-06-06 10:05:53 +00:00
Kim Woelders 17588aa5e0 Fix incorrect initial coords placement in certain situations.
SVN revision: 47919
2010-04-11 11:42:55 +00:00
Kim Woelders 581f6cfd60 Disable shaded, semi-solid, and translucent move/resize modes by default.
SVN revision: 47702
2010-04-02 15:28:15 +00:00
Kim Woelders 84cedde03c No need to query pointer in move/resize start.
SVN revision: 46171
2010-02-14 19:04:06 +00:00
Kim Woelders ccadd26322 Eliminate Mode.action_inhibit.
This flag should not be needed after introducing the
move/resize event window.

SVN revision: 44956
2010-01-07 16:42:26 +00:00
Kim Woelders c0c53f291c Remove unintended comment.
SVN revision: 44723
2009-12-26 10:35:47 +00:00
Kim Woelders 01fa299f45 Use new event window for move/resize.
SVN revision: 44594
2009-12-20 07:29:51 +00:00
Kim Woelders 501690bb4b Change name, eliminate unused return values.
SVN revision: 44339
2009-12-10 16:37:56 +00:00
Kim Woelders 3fc9a92208 Fix manual placement.
It seems that (pointer?) grabs are now broken when reparenting.
IIRC this was not always so.

SVN revision: 43738
2009-11-16 20:55:14 +00:00
Kim Woelders 64311e0acb Enable move/resize using keyboard.
SVN revision: 39015
2009-02-14 11:09:06 +00:00
Kim Woelders b18416800b Prepare for move/resize using keyboard.
SVN revision: 39014
2009-02-14 11:09:03 +00:00
Kim Woelders e42a80764f Play sounds by number in stead of by name. Enable disabling specific sounds.
SVN revision: 38142
2008-12-14 16:44:45 +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 c4b035680b Cleanups.
SVN revision: 34085
2008-03-22 15:00:07 +00:00
Kim Woelders db8cc38ab6 Forgot 2008.
SVN revision: 33886
2008-03-01 16:38:58 +00:00
Kim Woelders 039776702a Fix potential segv during translucent move (noted by Pietro Cerutti, bug 392).
SVN revision: 33881
2008-03-01 15:36:15 +00:00
Kim Woelders 0a05aafc82 Assume free(0) is ok (if not HAVE_FREE_NULL_BUG will have to be defined).
SVN revision: 33818
2008-02-23 12:09:38 +00:00
Kim Woelders c9b1c47dfe Stuff for checking if various XSync's are really needed.
SVN revision: 33741
2008-02-13 21:31:29 +00:00
Kim Woelders 942e108d71 Fix more breakage around window movement.
SVN revision: 33225
2007-12-24 00:04:55 +00:00
Kim Woelders cec8f5d965 Oops - Fix incorrect tracking of pointer motion fix.
SVN revision: 33212
2007-12-22 14:40:20 +00:00
Kim Woelders 967903fbad Fix incorrect tracking of pointer motion when dragging window (noted by Jon Foster).
SVN revision: 33196
2007-12-21 22:04:55 +00:00
Kim Woelders 6089e2ef04 Deactivate unused code, trivial cleanups.
SVN revision: 31626
2007-09-05 19:12:56 +00:00
Kim Woelders 9eec06491e Add dialog option to select non-grabbing move/resize modes.
SVN revision: 30756
2007-07-11 09:21:27 +00:00
Kim Woelders 328697893f Add shaped window version of technical move/resize mode.
SVN revision: 30455
2007-06-24 20:10:39 +00:00
Kim Woelders 6d90f4c938 Fix bug in left/top resizing when returning to starting point. Simplify.
SVN revision: 30383
2007-06-17 20:03:29 +00:00
Kim Woelders 4c80c1de2a Fix window sliding in new boxed mode.
SVN revision: 30341
2007-06-16 08:41:53 +00:00
Kim Woelders ea4dd7f6ef Use shaped window in stead of server grab/line draws for boxed move/resize mode.
SVN revision: 30337
2007-06-15 19:42:41 +00:00
Kim Woelders fbced44281 Cleanups, paving the way for other changes.
SVN revision: 30312
2007-06-11 22:28:35 +00:00
Kim Woelders 83bcbbaee1 2007.
SVN revision: 27952
2007-01-13 19:14:29 +00:00
Kim Woelders b5da0f0aeb Fix move through desk switch.
SVN revision: 27936
2007-01-13 01:44:03 +00:00
Kim Woelders 056a824115 Remove unneeded grab parameter (we always grab).
SVN revision: 27935
2007-01-13 01:41:34 +00:00
Kim Woelders 6fed0108ad Clean up move/resize event handling.
SVN revision: 27218
2006-11-26 17:10:40 +00:00
Kim Woelders 63a8acc721 Split up, shuffle around, rename.
SVN revision: 27181
2006-11-19 21:55:52 +00:00
Kim Woelders 680309c561 Fix non-group move by pointer.
SVN revision: 22965
2006-05-28 10:12:25 +00:00
Kim Woelders 2a431b38e7 Trivial renaming.
SVN revision: 22448
2006-05-03 20:52:15 +00:00
Kim Woelders 27050fe8cc Split off timers.h
SVN revision: 22161
2006-04-16 13:27:38 +00:00
Kim Woelders e0b0ca87e2 Set window operation source some more places.
SVN revision: 22058
2006-04-12 15:19:40 +00:00
Kim Woelders 05e7471a1a Introduce idlers.
SVN revision: 21980
2006-04-09 10:18:34 +00:00