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
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
d7f2d0c92b
Fix intended centering on parent of unplaced dialogs.
...
SVN revision: 84011
2013-02-17 00:19:52 +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
3d6195ba33
When using XI2, handle enter/leave events via XI2.
...
SVN revision: 81756
2012-12-27 18:21:58 +00:00
Kim Woelders
edab78096b
Remove some commented out stuff.
...
SVN revision: 81751
2012-12-27 18:21:44 +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
7fd4f7a71d
Cosmetics.
...
SVN revision: 78407
2012-10-24 17:20:38 +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
5a5ffd4761
Eliminate Mode.place.doing_slide.
...
It should not be necessary to prevent multiple "simulatenous" slideins.
They are handled sequentially anyway.
SVN revision: 70829
2012-05-06 17:20:30 +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
a2b0a817d8
Remove server grab around EShapeSetShape().
...
If the server grab is removed from here, it would seem appropriate
to add it in EShapeSetShape() (or EShapeCombineShape()).
However, I'm not sure we need atomicity at this point.
If we read an "incorrrect" shape, we should have an unprocessed shape
change notification pending.
Let's just see if this causes trouble.
SVN revision: 70399
2012-04-22 17:39:58 +00:00
Kim Woelders
3674582157
Name ewin sliding functions consistently.
...
SVN revision: 70392
2012-04-22 17:39:42 +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
c8d29ec09b
Cosmetics.
...
SVN revision: 66976
2012-01-08 12:54:17 +00:00
Kim Woelders
c9c22f6fc6
Use WM_NAME in stead of WM_ICON_NAME in pager and iconbox.
...
SVN revision: 63209
2011-09-05 18:37:31 +00:00
Kim Woelders
75c8ae4487
Fix segv when new client is destroyed before being mapped.
...
Seen with ROX-Filer when using rename dialog.
Also fix compositing in this case.
SVN revision: 62760
2011-08-24 20:45:11 +00:00
Kim Woelders
9d2932a2a4
Add EwinIsOnDesktop().
...
SVN revision: 61447
2011-07-17 18:43:23 +00:00
Kim Woelders
b5f52fccd2
Change EwinGetContainerXwin() to macro.
...
SVN revision: 61179
2011-07-10 06:08:10 +00:00
Kim Woelders
4ceb809f74
Minor debug printout cleanups.
...
SVN revision: 60483
2011-06-19 14:36:47 +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
34910b33bc
Eliminate EwinIsMapped() and EwinGetDesk().
...
SVN revision: 59969
2011-06-05 14:53:55 +00:00
Kim Woelders
8149f1017a
Enable setting/saving ignorearrange attribute in window menu.
...
Patch by Daniel Manjarres.
SVN revision: 59351
2011-05-12 18:57:00 +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
a87641f97e
Warning fixes for gcc-4.6.
...
SVN revision: 56392
2011-01-30 00:07:50 +00:00
Kim Woelders
72382b7b38
Fix trouble around initially iconified windows and manual placement.
...
Noted by Daniel Manjarres.
SVN revision: 56189
2011-01-16 08:52:51 +00:00
Kim Woelders
f0c0a4519c
Change TimerAdd() and TimerSetInterval() time to ms.
...
SVN revision: 55891
2011-01-05 18:05:57 +00:00
Kim Woelders
19b69bb595
Change XWarpPointer wrapping.
...
SVN revision: 54736
2010-11-20 07:30:26 +00:00
Kim Woelders
09e59f25e8
Minor zooming related fixes/cleanups.
...
SVN revision: 54065
2010-10-31 10:43:21 +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
2493319624
Remove incorrect comment. Cosmetics.
...
SVN revision: 54047
2010-10-30 18:41:20 +00:00