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
7058710e
Commit
7058710e
authored
Apr 02, 2021
by
Vlad Zahorodnii
Browse files
Use code generated by qtwaylandscanner to send xdg-exported handle
This was overlooked during the port to the new approach.
parent
18815f88
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/wayland/xdgforeign_v2_interface.cpp
View file @
7058710e
...
...
@@ -81,7 +81,7 @@ void XdgExporterV2Interface::zxdg_exporter_v2_export_toplevel(Resource *resource
});
m_exportedSurfaces
[
handle
]
=
exported
;
zxdg_
exported
_v2_
send_handle
(
exportedResource
,
handle
.
toUtf8
().
constData
()
);
exported
->
send_handle
(
handle
);
}
XdgImporterV2Interface
::
XdgImporterV2Interface
(
Display
*
display
,
XdgForeignV2Interface
*
foreign
)
...
...
src/wayland/xdgforeign_v2_interface_p.h
View file @
7058710e
...
...
@@ -69,7 +69,7 @@ private:
QHash
<
XdgImportedV2Interface
*
,
SurfaceInterface
*>
m_children
;
//parent->child hash
};
class
XdgExportedV2Interface
:
public
QObject
,
QtWaylandServer
::
zxdg_exported_v2
class
XdgExportedV2Interface
:
public
QObject
,
public
QtWaylandServer
::
zxdg_exported_v2
{
Q_OBJECT
...
...
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