aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2022-01-08 22:52:53 +0300
committerKirill Primak <vyivel@eclair.cafe>2022-02-02 21:06:12 +0300
commit1e4c1a3b58d77f91223571160cdb2db12ad9386b (patch)
tree113a4b34418ea74228e4f799bdd1b31de5268812 /include/wlr
parent27c8865a4d92c785a8298022a21cf989206e4436 (diff)
xdg-toplevel: change parent type to xdg-toplevel
This commit changes wlr_xdg_toplevel::parent type from wlr_xdg_surface to wlr_xdg_toplevel.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_xdg_shell.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_xdg_shell.h b/include/wlr/types/wlr_xdg_shell.h
index 247bad15..2fee1453 100644
--- a/include/wlr/types/wlr_xdg_shell.h
+++ b/include/wlr/types/wlr_xdg_shell.h
@@ -125,7 +125,7 @@ struct wlr_xdg_toplevel {
struct wlr_xdg_surface *base;
bool added;
- struct wlr_xdg_surface *parent;
+ struct wlr_xdg_toplevel *parent;
struct wl_listener parent_unmap;
struct wlr_xdg_toplevel_state current, pending;