Kim Woelders
ebd3b74f49
moveresize: Move SnapEwin() to where it is used.
2022-05-09 15:49:46 +02:00
Kim Woelders
a5228ad9e0
moveresize: Remove long time unused constrained move code
...
Not active because doMoveConstrained() has been disabled for ages.
Was effectively equivalent to setting misc.snap.screen_snap_dist to
large value.
2022-04-22 07:35:20 +02:00
Kim Woelders
34f007d088
Add window option to pass-through pointer events
2022-04-16 11:26:17 +02:00
Kim Woelders
684e911c9e
arrange: Simplify/speed up by using qsort(), cosmetics
2022-04-04 18:35:45 +02:00
Kim Woelders
33dc371131
stacking: Remove unused EwinListStackGetTop()
2022-04-04 12:49:37 +02:00
Kim Woelders
da30b90052
Disable setting internal window title via ipc (properly)
...
Previously, when trying to set the title via ipc, the window WM_NAME and
_NET_WM_NAME properties would be changed, but the border title (e16's
perception of the properties) would not be updated because PropertyChange
notifications for internal windows are discarded (to avoid processing
changes we already know have happened, IIRC).
Now the internal window name properties are not changed, avoiding
inconsistency between properties and internal state (and border title).
2022-02-14 16:52:21 +01:00
Kim Woelders
85912e39e2
New feature - Making windows stick on specific desks/areas
2022-02-05 14:15:01 +01:00
Kim Woelders
2c01d2e1a4
Only update _NET_WM_STATE and _NET_WM_ALLOWED_ACTIONS when changed
...
Avoids some hint noise.
2021-08-21 20:47:34 +02:00
Kim Woelders
0a65af57e5
Focus: Fix focus on new clients requesting max size
2021-07-15 12:59:58 +02:00
Kim Woelders
e6b62914b4
Make "only primary mouse button raises" option take effect immediately
2020-06-23 21:11:13 +02: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
88dba1cfff
Re-indent with indent-2.2.12
2020-01-23 21:30:02 +01:00
Kim Woelders
802f34f758
Introduxe ArrangeEwinCenteredOn()
2019-03-05 16:15:28 +01:00
Kim Woelders
6dab84f6c6
Introduce EwinFindGroupMember()
2019-03-05 16:15:28 +01:00
Kim Woelders
8dcb2d3dfa
Revert "Fix transient placement involving desk/area change"
...
Does not work properly.
This reverts commit e132f27043
.
2019-03-05 16:15:28 +01:00
Kim Woelders
e132f27043
Fix transient placement involving desk/area change
2019-01-02 17:34:33 +01: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
6bd90781c1
Move shape window stuff to separate header file.
2014-04-21 11:28:38 +02:00
Kim Woelders
ccc5560d23
No need for double - change to float.
2013-07-07 23:35:16 +02:00
Kim Woelders
8c4fab941b
Play raise/lower sounds only if any windows are actually raised/lowered.
2013-06-04 22:09:10 +02:00
Kim Woelders
89c1602253
Startup applications - Don't slide in or place manually during e16 startup.
...
Broken somewhere in 1.0.12.
This fix probably makes Mode.place.enable_features unnecessary.
2013-04-02 23:55:28 +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
ceb0c5aa3f
Enable not using a container window.
...
When not using the container window, client windows are reparented to
the frame window, not to a container window which is a child of the
frame window.
SVN revision: 83374
2013-01-27 21:00:54 +00:00
Kim Woelders
0c16916258
Enable setting shape on multiple windows.
...
SVN revision: 81864
2012-12-29 12:06:42 +00:00
Kim Woelders
51a19d26e7
Introduce new animation engine.
...
Based on work by Daniel Manjarres.
One of the major changes is to eliminate the "TimedLoop" construction
where we have "local" animation loops, in which we don't pass through
the main event handler.
SVN revision: 80542
2012-12-09 10:03:07 +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
3674582157
Name ewin sliding functions consistently.
...
SVN revision: 70392
2012-04-22 17:39:42 +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
af5dcb3987
Change some longs to ints where long is not needed.
...
SVN revision: 66973
2012-01-08 12:54:08 +00:00
Kim Woelders
9d2932a2a4
Add EwinIsOnDesktop().
...
SVN revision: 61447
2011-07-17 18:43:23 +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
b5f52fccd2
Change EwinGetContainerXwin() to macro.
...
SVN revision: 61179
2011-07-10 06:08:10 +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
34910b33bc
Eliminate EwinIsMapped() and EwinGetDesk().
...
SVN revision: 59969
2011-06-05 14:53:55 +00:00
Kim Woelders
403f92ef13
Fix selection of next focus window when iconifing a window.
...
Noted by Daniel Manjarres.
SVN revision: 58900
2011-04-25 13:59:08 +00:00
Kim Woelders
65f85bff55
Change WITH_ZOOM to ENABLE_ZOOM. Zoom related build tweaks.
...
SVN revision: 54066
2010-10-31 10:43:24 +00:00
Kim Woelders
c45c753584
Avoid processing events belonging to a previous ewin for a client window.
...
This hopefully puts an end to various menu related segvs that have been causing
trouble since 1.0.3.
SVN revision: 54048
2010-10-30 18:41:22 +00:00
Kim Woelders
15ede64ea1
Introduce PmapMaskInit().
...
SVN revision: 53807
2010-10-23 10:22:52 +00:00
Kim Woelders
0da5d0c918
Move "shape window" code to separate file.
...
SVN revision: 50659
2010-07-29 20:39:30 +00:00
Kim Woelders
d99aa08fe0
Change functions to macros (when compiling without zoom).
...
SVN revision: 50352
2010-07-18 18:52:56 +00:00
Kim Woelders
c76a25ec82
Eliminate GetZoomEWin() and InZoom().
...
SVN revision: 50350
2010-07-18 18:52:52 +00:00
Kim Woelders
5bdd90c22e
Simplify ZoomInit(), make static.
...
SVN revision: 50349
2010-07-18 18:52:50 +00:00
Kim Woelders
6f9ab28110
Add force parameter to EwinWarpTo().
...
SVN revision: 49488
2010-06-06 10:08:17 +00:00
Kim Woelders
48f6bbe94c
Trivial cleanups.
...
SVN revision: 49486
2010-06-06 10:05:53 +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
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
d2880aba94
Minor fixes, cleanups.
...
SVN revision: 44038
2009-11-29 10:35:52 +00:00