Commit 6421559c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB SD: allow running even if there is no ICCCM window manager

parent 88f28b24
...@@ -146,13 +146,11 @@ static int Open (vlc_object_t *obj) ...@@ -146,13 +146,11 @@ static int Open (vlc_object_t *obj)
r = xcb_intern_atom_reply (conn, ncl, NULL); r = xcb_intern_atom_reply (conn, ncl, NULL);
if (r == NULL || r->atom == 0) if (r == NULL || r->atom == 0)
{ {
dialog_Fatal (sd, _("Application list failure"), dialog_Fatal (sd, _("Screen capture"),
_("Your window manager does not support application list.")); _("Your window manager does not provide a list of applications."));
msg_Err (sd, "application list not support (_NET_CLIENT_LIST absent)"); msg_Err (sd, "client list not supported (_NET_CLIENT_LIST absent)");
free (r);
goto error;
} }
p_sys->net_client_list = r->atom; p_sys->net_client_list = r ? r->atom : 0;
free (r); free (r);
r = xcb_intern_atom_reply (conn, nwn, NULL); r = xcb_intern_atom_reply (conn, nwn, NULL);
if (r != NULL) if (r != NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment