Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
46604a3c
Commit
46604a3c
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
fbe8aff4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wayland/xdgshell_interface.cpp
View file @
46604a3c
...
...
@@ -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
.
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