wayland/xdg-shell: Fix buffer attach coordinate comparison
Only x was checked, but twice. Should check both x and y.
This commit is contained in:
parent
1bbb5c8107
commit
8d91135926
@ -701,7 +701,7 @@ meta_wayland_zxdg_toplevel_v6_commit (MetaWaylandSurfaceRole *surface_role,
|
|||||||
window_geometry,
|
window_geometry,
|
||||||
pending->dx, pending->dy);
|
pending->dx, pending->dy);
|
||||||
}
|
}
|
||||||
else if (pending->dx != 0 || pending->dx != 0)
|
else if (pending->dx != 0 || pending->dy != 0)
|
||||||
{
|
{
|
||||||
g_warning ("XXX: Attach-initiated move without a new geometry. "
|
g_warning ("XXX: Attach-initiated move without a new geometry. "
|
||||||
"This is unimplemented right now.");
|
"This is unimplemented right now.");
|
||||||
|
@ -732,7 +732,7 @@ meta_wayland_xdg_toplevel_commit (MetaWaylandSurfaceRole *surface_role,
|
|||||||
window_geometry,
|
window_geometry,
|
||||||
pending->dx, pending->dy);
|
pending->dx, pending->dy);
|
||||||
}
|
}
|
||||||
else if (pending->dx != 0 || pending->dx != 0)
|
else if (pending->dx != 0 || pending->dy != 0)
|
||||||
{
|
{
|
||||||
g_warning ("XXX: Attach-initiated move without a new geometry. "
|
g_warning ("XXX: Attach-initiated move without a new geometry. "
|
||||||
"This is unimplemented right now.");
|
"This is unimplemented right now.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user