oops - add back in snprintf.

SVN revision: 83768
This commit is contained in:
Carsten Haitzler 2013-02-08 09:00:29 +00:00
parent c736dd323d
commit 73e9b8ea3d
1 changed files with 1 additions and 0 deletions

View File

@ -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);