[vlc-devel] commit: XCB SD: allow running even if there is no ICCCM window manager ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Feb 13 20:15:44 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Feb 13 21:15:30 2010 +0200| [6421559cb32abf91f261bb5b91187efbfa48e6b6] | committer: Rémi Denis-Courmont
XCB SD: allow running even if there is no ICCCM window manager
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6421559cb32abf91f261bb5b91187efbfa48e6b6
---
modules/services_discovery/xcb_apps.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/modules/services_discovery/xcb_apps.c b/modules/services_discovery/xcb_apps.c
index 01c9e68..6e35f93 100644
--- a/modules/services_discovery/xcb_apps.c
+++ b/modules/services_discovery/xcb_apps.c
@@ -146,13 +146,11 @@ static int Open (vlc_object_t *obj)
r = xcb_intern_atom_reply (conn, ncl, NULL);
if (r == NULL || r->atom == 0)
{
- dialog_Fatal (sd, _("Application list failure"),
- _("Your window manager does not support application list."));
- msg_Err (sd, "application list not support (_NET_CLIENT_LIST absent)");
- free (r);
- goto error;
+ dialog_Fatal (sd, _("Screen capture"),
+ _("Your window manager does not provide a list of applications."));
+ msg_Err (sd, "client list not supported (_NET_CLIENT_LIST absent)");
}
- p_sys->net_client_list = r->atom;
+ p_sys->net_client_list = r ? r->atom : 0;
free (r);
r = xcb_intern_atom_reply (conn, nwn, NULL);
if (r != NULL)
More information about the vlc-devel
mailing list