forked from enlightenment/efl
parent
ef3b81b395
commit
78d08250c4
|
@ -33,7 +33,7 @@ _ecore_evas_x_protocols_set(Ecore_Evas *ee)
|
|||
protos[num++] = ECORE_X_ATOM_NET_WM_PING;
|
||||
if (ee->func.fn_delete_request)
|
||||
protos[num++] = ECORE_X_ATOM_WM_DELETE_WINDOW;
|
||||
ecore_x_icccom_protocol_atoms_set(ee->prop.window, protos, num);
|
||||
ecore_x_icccm_protocol_atoms_set(ee->prop.window, protos, num);
|
||||
}
|
||||
|
||||
#ifdef HAVE_ECORE_X_XCB
|
||||
|
|
|
@ -1386,7 +1386,7 @@ EAPI int ecore_x_icccm_size_pos_hints_get(Ecore_X_Window win,
|
|||
double *max_aspect);
|
||||
EAPI void ecore_x_icccm_title_set(Ecore_X_Window win, const char *t);
|
||||
EAPI char *ecore_x_icccm_title_get(Ecore_X_Window win);
|
||||
EAPI void ecore_x_icccom_protocol_atoms_set(Ecore_X_Window win,
|
||||
EAPI void ecore_x_icccm_protocol_atoms_set(Ecore_X_Window win,
|
||||
Ecore_X_Atom *protos, int num);
|
||||
EAPI void ecore_x_icccm_protocol_set(Ecore_X_Window win,
|
||||
Ecore_X_WM_Protocol protocol,
|
||||
|
|
|
@ -501,7 +501,7 @@ ecore_x_icccm_title_get(Ecore_X_Window win)
|
|||
* @param num the number of members of the array
|
||||
*/
|
||||
EAPI void
|
||||
ecore_x_icccom_protocol_atoms_set(Ecore_X_Window win, Ecore_X_Atom *protos, int num)
|
||||
ecore_x_icccm_protocol_atoms_set(Ecore_X_Window win, Ecore_X_Atom *protos, int num)
|
||||
{
|
||||
if (num > 0)
|
||||
XSetWMProtocols(_ecore_x_disp, win, (Atom *)(protos), num);
|
||||
|
|
Loading…
Reference in New Issue