mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 07:34:09 +00:00
Jasper St. Pierre
f3fecd478d
frame: Always use the client window's visual for our frame
Since the frame is the window that's redirected, there's no reason for it to match the root window. There *is*, however, a big incentive to match the window's visual, since not doing so might trigger automatic redirection. On a specific platform, we construct a depth-32 root window, and stick a depth-24 child window inside it. The frame ends up being created depth-32, not depth-24, so we get automatic redirection.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%