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
a3e3977c5c
ewins: Tweak allowed actions
...
Allow horizontal maximization when size is only vertically fixed and
vice versa.
Disallow fullscreening when size is horizontally or vertically fixed.
2023-09-25 16:24:40 +02:00
Kim Woelders
2fdf689d90
ewins: Fix gravity related placement issue
...
Attempt to fix placement issues (walking window) for windows with
non-NorthWest gravity when withdrawn/shown.
2023-09-11 20:41:38 +02:00
Kim Woelders
50356c8b12
Revert "Optionally ignore gravity from WM_NORMAL_HINTS"
...
Doesn't fix the problem.
This reverts commit c6c5070311
.
2023-09-11 20:40:47 +02:00
Kim Woelders
c6c5070311
Optionally ignore gravity from WM_NORMAL_HINTS
2023-09-10 16:48:15 +02:00
Kim Woelders
bed85d0f42
Remove some pseudotransparency leftovers
2023-08-12 19:49:47 +02:00
Kim Woelders
ff293d12d2
ewins: Tweak spurious MapRequest handling
...
Some clients produce multiple MapRequests (presumably by doing
multiple XMapWindow()s early, which hits case "B").
Not sure when case "A" is hit, maybe in connection with incorrect
iconification or withdrawal and re-map.
Now we only reparent (and move) if not already reparented, and place
correcly in the no-container case (which most likely is to do nothing
as the window probably already is parented/placed correctly).
Also always print a message to the console on spurious MapRequests.
This fixes client window placement within the frame in the no-container
case with some clients.
2022-12-11 16:21:42 +01: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
08b70658d3
stacking: Hold all objects in the order list
...
I.e. not just the EWins.
2022-04-04 13:17:53 +02:00
Kim Woelders
44c01a009b
Accept client window events a bit earlier
...
Set the cut-off event serial number to the serial number of the window's
map request.
Fixes cases where a client sends a client message immediately after
mapping.
2022-03-31 10:29:10 +02:00
Kim Woelders
85912e39e2
New feature - Making windows stick on specific desks/areas
2022-02-05 14:15:01 +01: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
0a65af57e5
Focus: Fix focus on new clients requesting max size
2021-07-15 12:59:58 +02:00
Kim Woelders
171b282f9f
Remove unused SM_CLIENT_ID stuff
2020-10-11 10:30:04 +02:00
Kim Woelders
bf1095d107
Hide Border struct internals
2020-09-25 16:00:35 +02:00
Kim Woelders
5132afd313
Simplify checks for borderless
2020-09-25 16:00:35 +02:00
Kim Woelders
8ff53d9575
Remove unused header
2019-04-06 11:10:27 +02:00
Kim Woelders
802f34f758
Introduxe ArrangeEwinCenteredOn()
2019-03-05 16:15:28 +01:00
Kim Woelders
c23bca5c26
Split unplaced transient and dialog handling
...
Shouldn't make much difference but makes the code a bit easier to
follow.
2019-03-05 16:15:28 +01:00
Kim Woelders
524540f7a8
Fix transient placement involving desk/area change (take 2)
...
Do desk/area change before placing the window.
Otherwise desk/area slides get mixed up with window slide-ins.
Also add some comments about what goes on here.
2019-03-05 16:15:28 +01:00
Kim Woelders
6dab84f6c6
Introduce EwinFindGroupMember()
2019-03-05 16:15:28 +01:00
Kim Woelders
84788b993c
Optionally don't slide in DeskGotoByEwin()
...
No actual changes yet.
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
0c623f1efe
Remove pointless goto
2019-01-02 17:34:33 +01:00
Kim Woelders
22b5e58dcd
Refactor/rename/use _EFREE type macros
2018-12-22 11:44:22 +01:00
Kim Woelders
5e836ea001
On window mode exit close/kill windows instead of reparent to root
2018-03-03 14:21:16 +01:00
Kim Woelders
08ad426b8b
Fix ignoring ConfigureRequest from application.
...
We would "correct" position/size even though we should ignore the
operation.
2015-06-22 20:10:26 +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
7e245b0c64
Avoid some potential X-calls/errors when client is destroyed.
2014-05-16 08:32:40 +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
5ee85ecd1c
2014.
2014-03-29 13:08:11 +01:00
Kim Woelders
68753e0a35
Fix placement of transient dialogs.
2014-03-02 16:03:04 +01:00
Kim Woelders
e1f062fff5
Use NoXID in stead of None.
2013-12-29 08:59:38 +01:00
Kim Woelders
dcd1d429b8
Add server grab around initial window pickup loop.
...
Not really necessary but avoids server grabs in each AddToFamily().
2013-11-24 16:37:18 +01:00
Kim Woelders
addfbbc75b
Only manage InputOutput windows.
2013-11-24 16:37:17 +01:00
Kim Woelders
1294510ef2
Avoid redundant calls of XGetWindowAttributes (eobjs).
2013-11-24 16:37:17 +01:00
Kim Woelders
1452bdec56
Avoid redundant calls of XGetWindowAttributes (ewins).
2013-11-24 16:37:17 +01:00
Kim Woelders
4a0bcfccf5
Simplify registration of override-redirect windows.
2013-11-24 16:37:17 +01:00
Kim Woelders
3d86eb55fa
Wrap XGetWindowAttributes().
2013-11-24 16:37:17 +01:00
Kim Woelders
6435db730a
Debug printout tweaks.
2013-11-24 16:37:17 +01:00
Kim Woelders
f6ff19cef1
Obsolete event handling tweak.
...
Avoid trouble around obsolete events and click grabs.
2013-10-06 21:38:06 +02:00
Kim Woelders
3f51b8c871
Obsolete event handling tweak.
...
Reduce probability of trouble that may occur if event serial number
difference since last wraps.
2013-10-06 21:23:45 +02:00
Kim Woelders
3d03033e7f
Some more double to float.
2013-07-08 00:05:20 +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
ba29ecf04e
Fix Globally Active focus mode.
...
Something changed somewhere in java 7 which seems to require that the
"Globally Active" focus mode is handled properly, otherwise input focus
is entirely broken.
Parts of patch by Tim Howe <vsync@quadium.net>.
2013-04-02 23:59:03 +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
8044b9d023
Don't unmap/map OR windows during startup.
...
We might as well not generate the event noise caused by this.
SVN revision: 84348
2013-02-24 18:57:41 +00:00
Kim Woelders
62a41d60b4
Minor simplification in initial window registration.
...
SVN revision: 84346
2013-02-24 18:57:33 +00:00