Skip to content

Commit 68cdb5a

Browse files
committed
components: Don't pass output argument to set_popup
Follow protocol changes. Issue: #133
1 parent 0b70113 commit 68cdb5a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/declarative/components/popupquickwindow_p.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -129,15 +129,13 @@ void PopupQuickWindow::setWindowType()
129129
}
130130
}
131131

132-
struct ::wl_output *output = static_cast<struct ::wl_output *>(
133-
native->nativeResourceForScreen("output", screen()));
134132
struct ::wl_surface *parent = static_cast<struct ::wl_surface *>(
135133
native->nativeResourceForWindow("surface", parentWindow));
136134
struct ::wl_surface *surface = static_cast<struct ::wl_surface *>(
137135
native->nativeResourceForWindow("surface", this));
138136

139137
struct ::wl_hawaii_popup_surface *popupSurface =
140-
RegistryListener::instance()->shellSurface()->set_popup(output, parent, surface,
138+
RegistryListener::instance()->shellSurface()->set_popup(parent, surface,
141139
pos.x(), pos.y());
142140
m_popupSurface->init(popupSurface);
143141
}

0 commit comments

Comments
 (0)