mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
x11: Remove overeager check
window->parent must exist, it's dereferenced a few lines below. Avoids clang complaints.
This commit is contained in:
parent
66be6a018c
commit
cff37ce26e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user