forked from enlightenment/efl
parent
c736dd323d
commit
73e9b8ea3d
|
@ -2051,6 +2051,7 @@ ecore_x_screen_is_composited(int screen)
|
||||||
char buf[32];
|
char buf[32];
|
||||||
|
|
||||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||||
|
snprintf(buf, sizeof(buf), "_NET_WM_CM_S%i", screen);
|
||||||
atom = XInternAtom(_ecore_x_disp, buf, True);
|
atom = XInternAtom(_ecore_x_disp, buf, True);
|
||||||
if (atom == None) return EINA_FALSE;
|
if (atom == None) return EINA_FALSE;
|
||||||
win = XGetSelectionOwner(_ecore_x_disp, atom);
|
win = XGetSelectionOwner(_ecore_x_disp, atom);
|
||||||
|
|
Loading…
Reference in New Issue