From 73e9b8ea3dc5b0d4011e583977b0e687980467b8 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Fri, 8 Feb 2013 09:00:29 +0000 Subject: [PATCH] oops - add back in snprintf. SVN revision: 83768 --- src/lib/ecore_x/xlib/ecore_x_netwm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/ecore_x/xlib/ecore_x_netwm.c b/src/lib/ecore_x/xlib/ecore_x_netwm.c index 90181fc198..e212031d4b 100644 --- a/src/lib/ecore_x/xlib/ecore_x_netwm.c +++ b/src/lib/ecore_x/xlib/ecore_x_netwm.c @@ -2051,6 +2051,7 @@ ecore_x_screen_is_composited(int screen) char buf[32]; LOGFN(__FILE__, __LINE__, __FUNCTION__); + snprintf(buf, sizeof(buf), "_NET_WM_CM_S%i", screen); atom = XInternAtom(_ecore_x_disp, buf, True); if (atom == None) return EINA_FALSE; win = XGetSelectionOwner(_ecore_x_disp, atom);