Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWayland Server
Commits
134426df
Commit
134426df
authored
Jan 21, 2021
by
Vlad Zahorodnii
Committed by
Aleix Pol Gonzalez
Jan 21, 2021
Browse files
xdg-shell: Provide more helpful description for invalid window geometry error
parent
fce5150f
Pipeline
#48279
passed with stage
in 6 minutes and 44 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/server/xdgshell_interface.cpp
View file @
134426df
...
...
@@ -247,7 +247,8 @@ void XdgSurfaceInterfacePrivate::xdg_surface_set_window_geometry(Resource *resou
}
if
(
width
<
1
||
height
<
1
)
{
wl_resource_post_error
(
resource
->
handle
,
-
1
,
"invalid window geometry size"
);
wl_resource_post_error
(
resource
->
handle
,
-
1
,
"invalid window geometry size (%dx%d)"
,
width
,
height
);
return
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment