Update clientGeometry for Unmanaged windows

It was udpated when we received a configure event but not in the initial
track.

The symptom of this being missed out was that blur would not be applied
to the window.

BUG: 423405
CCBUG: 423297
This commit is contained in:
David Edmundson 2020-06-30 14:59:54 +01:00
parent 38691aa0e7
commit 1b4c725d10

View file

@ -69,6 +69,7 @@ bool Unmanaged::track(xcb_window_t w)
setWindowHandles(w); // the window is also the frame
Xcb::selectInput(w, attr->your_event_mask | XCB_EVENT_MASK_STRUCTURE_NOTIFY | XCB_EVENT_MASK_PROPERTY_CHANGE);
m_frameGeometry = geo.rect();
m_clientGeometry = geo.rect();
checkScreen();
m_visual = attr->visual;
bit_depth = geo->depth;