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
Kim Woelders
f4805ad117
Cosmetics.
...
SVN revision: 54046
2010-10-30 18:41:18 +00:00
Kim Woelders
288a6c0541
FreePmapMask() -> PmapMaskFree().
...
SVN revision: 53806
2010-10-23 10:22:50 +00:00
Kim Woelders
fb6c2cc964
Keep on-screen windows requesting resize on screen.
...
Suggested by José Romildo Malaquias.
SVN revision: 51951
2010-09-07 15:28:06 +00:00
Kim Woelders
8fbf449223
Keep windows on one xinerama screen when placing under mouse.
...
Suggested by James Bowlin.
SVN revision: 51353
2010-08-18 21:16:51 +00:00
Kim Woelders
4ac03926da
Adjustments for indent 2.2.11.
...
SVN revision: 50909
2010-08-08 19:03:34 +00:00
Kim Woelders
c76a25ec82
Eliminate GetZoomEWin() and InZoom().
...
SVN revision: 50350
2010-07-18 18:52:52 +00:00
Kim Woelders
6f9ab28110
Add force parameter to EwinWarpTo().
...
SVN revision: 49488
2010-06-06 10:08:17 +00:00
Kim Woelders
4fbabcefd0
In reparent event handler, use parent indicated by event.
...
This avoids multiple roundtrips during window creation/destruction.
I wonder why it was necessary to look up the parent with XQueryTree.
IIRC there where some misbehaving clients, maybe related to switching
in/out of fullscreen mode.
SVN revision: 47922
2010-04-11 11:43:02 +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
4dfed1b5c7
Don't put shadow on borderless argb windows.
...
SVN revision: 46969
2010-03-07 22:53:07 +00:00
Kim Woelders
ca74b5aff8
Assume ConfigureRequests contain root x,y coordinates for now.
...
SVN revision: 46526
2010-02-26 21:54:58 +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
0ead506d0a
Do not propagate key events.
...
SVN revision: 45208
2010-01-16 11:50:07 +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
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
2121b42962
Move reference point for manual placement to inside window.
...
This enables placing e.g. at top left corner without having to fight edge flip.
SVN revision: 43858
2009-11-21 11:13:12 +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
3a706d50c5
Avoid wasting some space.
...
SVN revision: 42465
2009-09-13 13:45:46 +00:00
Kim Woelders
e01bbc1421
Fix issue with placement of windows present before e16 is started.
...
SVN revision: 42101
2009-08-30 14:04:31 +00:00
Kim Woelders
2ec0640a1c
Add some window size sanity checks.
...
SVN revision: 41594
2009-08-04 16:11:44 +00:00
Kim Woelders
afabf24589
Remove cruft.
...
SVN revision: 41593
2009-08-04 16:11:38 +00:00
Kim Woelders
cdaddb3376
Remove unused parameter.
...
SVN revision: 41510
2009-07-27 16:46:54 +00:00
Kim Woelders
bb53ec7781
Fix size (container window shape) of windows resized by a window match.
...
SVN revision: 41106
2009-06-18 20:04:27 +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
9fc923f6ab
Add autoshade window option (suggested by Don Harrop).
...
SVN revision: 38883
2009-02-01 10:15:13 +00:00
Kim Woelders
fb522bde1f
Tweak Grab/UngrabButtonGrabs prototype.
...
SVN revision: 37834
2008-11-27 20:15:23 +00:00
Kim Woelders
619b95c289
Indent.
...
SVN revision: 37675
2008-11-16 17:20:30 +00:00
Kim Woelders
70bdea29ed
Update donthide state if window properties change.
...
SVN revision: 37665
2008-11-15 14:16:28 +00:00
Kim Woelders
cbe16b83b0
Tweak "wop alone" and "show desktop" window selection.
...
SVN revision: 37599
2008-11-12 18:59:52 +00:00
Kim Woelders
d2d5df5969
Add winop "alone" to iconify windows on desktop excexpt the selected one
...
(patch by Pietro Cerutti).
SVN revision: 37535
2008-11-07 19:50:57 +00:00
Kim Woelders
5986de532a
A bit more consistent naming and minor cleanup (snaps).
...
SVN revision: 36782
2008-10-18 16:00:14 +00:00
Kim Woelders
9a10eee2c1
Fix build on Solaris 10 (Don Harrop).
...
SVN revision: 36505
2008-10-07 19:41:57 +00:00
Kim Woelders
ee094afa72
Cleanups around closing internal windows.
...
SVN revision: 35390
2008-08-07 23:17:04 +00:00
Kim Woelders
08a86c83af
Fix various gravity issues.
...
SVN revision: 35069
2008-07-11 19:38:18 +00:00
Kim Woelders
880b149f23
Correctly place/size new apps requesting _NET_WM_STATE_MAXIMIZED_...
...
SVN revision: 34892
2008-06-22 22:26:00 +00:00
Kim Woelders
70ad8a0f38
Enable not using ARGB frame for ARGB clients (selected by window match).
...
SVN revision: 34755
2008-06-05 17:59:51 +00:00
Kim Woelders
ced10e2311
Change some values to defines.
...
SVN revision: 34754
2008-06-05 17:45:01 +00:00
Kim Woelders
3e237fb247
Enable fading/shadow when desired (in stead of disabling when not).
...
SVN revision: 34753
2008-06-05 17:42:59 +00:00
Kim Woelders
fd39d6628a
Simplify shape functions.
...
SVN revision: 34745
2008-06-05 08:55:21 +00:00
Kim Woelders
1dad1ef28f
Simplify timers.
...
SVN revision: 34656
2008-05-24 18:13:17 +00:00
Kim Woelders
26f7112636
Remove/comment out unused stuff.
...
SVN revision: 34533
2008-05-10 23:22:31 +00:00
Kim Woelders
6eaca2639c
Eliminate redundant VRoot vars.
...
SVN revision: 34106
2008-03-24 11:12:40 +00:00
Kim Woelders
45ae68ae79
Eliminate redundant RRoot variables.
...
SVN revision: 34105
2008-03-24 10:24:28 +00:00
Kim Woelders
e9230a8aa5
Eliminate Constraints.
...
SVN revision: 34104
2008-03-24 09:47:50 +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
137c4f8aba
Add shadow and fading flags to the remembered flag list.
...
SVN revision: 34006
2008-03-12 22:27:03 +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
5ab71de162
Cleanups.
...
SVN revision: 33740
2008-02-13 20:51:00 +00:00
Kim Woelders
11164d37fb
Add configuration of default opacities.
...
SVN revision: 33724
2008-02-10 20:21:53 +00:00
Kim Woelders
86f6b7dec7
Add a number of window flags to the remembered flag list.
...
SVN revision: 33672
2008-02-03 17:08:38 +00:00
Kim Woelders
62a6c2150e
Prepare for handling additional window flags in snapshots/across restart.
...
SVN revision: 33671
2008-02-03 17:03:23 +00:00
Kim Woelders
53b7d488ef
Introduce EwinWarpTo().
...
SVN revision: 33535
2008-01-19 13:44:54 +00:00
Kim Woelders
c3fc3050ec
Don't set mouse-over win on desk enter, should be handled via enter events.
...
SVN revision: 33534
2008-01-19 13:38:51 +00:00
Kim Woelders
90110fc471
Eliminate obsolete EventsConfigure stuff.
...
SVN revision: 33533
2008-01-19 13:32:30 +00:00
Kim Woelders
942e108d71
Fix more breakage around window movement.
...
SVN revision: 33225
2007-12-24 00:04:55 +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
ee2f91f7c5
Fix application resize locking.
...
SVN revision: 32983
2007-12-04 21:13:25 +00:00
Kim Woelders
05086b00f3
Don't mask off events while switching area/desk. The amount of enter/leave
...
events during switches has been reduced considerably, and changing the event
masks causes more trouble than worth while (I think...).
SVN revision: 30944
2007-07-23 18:59:42 +00:00
Kim Woelders
a9e89ce1d8
Fix showing root window tooltips (broken recently).
...
SVN revision: 30894
2007-07-18 11:09:49 +00:00
Kim Woelders
c6ef57d637
Fix set/unset of raise grabs in certain situations.
...
SVN revision: 30758
2007-07-11 09:30:58 +00:00
Kim Woelders
929d220cbb
Simplify initial window management at startup (fix initially iconified).
...
SVN revision: 30755
2007-07-11 09:16:46 +00:00
Kim Woelders
c093e8c957
Move some window property derivation to allow tweaking stuff in snapshots.
...
SVN revision: 30754
2007-07-11 09:14:12 +00:00
Kim Woelders
d85b5d77e2
Simplify initial window management at startup.
...
SVN revision: 30750
2007-07-11 09:05:43 +00:00
Kim Woelders
698869fa54
Eliminate some pointer event processing.
...
SVN revision: 30748
2007-07-11 08:54:19 +00:00
Kim Woelders
de1e2af094
Disable slide-ins until startup windows are gone.
...
SVN revision: 30371
2007-06-17 08:33:22 +00:00