Commit 1dddf271 authored by ivan tkachenko's avatar ivan tkachenko Committed by Vlad Zahorodnii
Browse files

x11: Inline condition to avoid potential extra call

parent 62cf7e88
Pipeline #207321 passed with stage
in 12 minutes and 19 seconds
......@@ -604,13 +604,9 @@ bool X11Window::manage(xcb_window_t w, bool isMapped)
setOnActivities(activitiesList);
}
QRectF geom = windowGeometry.rect();
QRectF geom = session ? session->geometry : windowGeometry.rect();
bool placementDone = false;
if (session) {
geom = session->geometry;
}
QRectF area;
bool partial_keep_in_area = isMapped || session;
if (isMapped || session) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment