properly initialize data

SVN revision: 11307
This commit is contained in:
tsauerbeck 2004-08-22 21:03:02 +00:00 committed by tsauerbeck
parent 2d27cb044e
commit f56faa573b
1 changed files with 1 additions and 1 deletions

View File

@ -731,7 +731,7 @@ ecore_x_window_prop_initial_state_set(Ecore_X_Window win, Ecore_X_Window_State_H
void
ecore_x_window_prop_borderless_set(Ecore_X_Window win, int borderless)
{
unsigned int data[5] = {0};
unsigned int data[5] = {0, 0, 0, 0, 0};
data[0] = 2; /* just set the decorations hint! */
data[2] = !borderless;