Skip to content

Commit

Permalink
src/mirror-xdg-portal: don't require xdg_foreign
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferdi265 committed Aug 18, 2024
1 parent e748dfa commit a97ece8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/mirror-xdg-portal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1315,11 +1315,6 @@ static void on_loop_pw_event(ctx_t * ctx) {
// --- init_mirror_xdg_portal ---

void wlm_mirror_xdg_portal_init(ctx_t * ctx) {
// check for required protocols
if (ctx->wl.xdg_exporter == NULL) {
wlm_log_warn("mirror-xdg-portal::init(): missing xdg_foreign protocol\n");
}

// allocate backend context structure
xdg_portal_mirror_backend_t * backend = malloc(sizeof (xdg_portal_mirror_backend_t));
if (backend == NULL) {
Expand Down

0 comments on commit a97ece8

Please sign in to comment.