GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit cff37ce2 authored by Benjamin Otte's avatar Benjamin Otte

x11: Remove overeager check

window->parent must exist, it's dereferenced a few lines below.

Avoids clang complaints.
parent 66be6a01
......@@ -1043,7 +1043,7 @@ _gdk_x11_display_create_window_impl (GdkDisplay *display,
impl->override_redirect = xattributes.override_redirect;
if (window->parent && window->parent->guffaw_gravity)
if (window->parent->guffaw_gravity)
xattributes.win_gravity = StaticGravity;
xattributes_mask |= CWWinGravity;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment