2850
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2849
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2848
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2847
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2846
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2845
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2844
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2843
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2842
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2841
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2840
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2839
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2838
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2837
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2836
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2835
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2834
|
|
Track ConfigureWindow requests and match them to ConfigureNotify events.
By doing this we are able to see what the pending requests are on a window at any given time, and can transform new requests to suit these pending ones. Currently, this only works for windows that we reparent and are not override redirect since those are the only windows where we can guaruntee that all ConfigureNotify events will be generated by us.
This isn't exposed to plugins at the moment, but it may be useful later on.
Incidentally, this allows us to fix a stacking corner case which was the following situation:
Windows A, B and C map (placed on top), and must stack relative to each other
Window A gets stacked beneath D (which is a panel), Window B should be stacked above A, Window C should be stacked above B,
What happened was that updateAttributes would be called and request to put window B above A, which it was already above in CompScreen::windows, so that stacking request becomes a no-op. In this case we check if the window is pending a restack and then request to put it above the same window it was already a sibling to if findSiblingBelow found that to be the case.
This fixes problems with, eg GIMP and Libreoffice, which make heavy use of transient windows when mapping their windows and may also restack their own windows when there is no window manager running
|
Sam Spilsbury |
12 years ago
|
|
|
2833
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2832
|
|
|
Sam Spilsbury |
12 years ago
|
|
|
2831
|
|
|
Sam Spilsbury |
12 years ago
|
|
|