Coding style fixes

- opening braces are on the same line as the if statement
- opening braces are not on the same line as the function name
- space between for/while/if and opening parenthesis

Signed-off-by: Dawid Gajownik <gajownik@gmail.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
diff --git a/clients/window.c b/clients/window.c
index e97fe85..6b34bfb 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -5296,7 +5296,7 @@
 		data_offer_destroy(input->selection_offer);
 
 	if (input->data_device) {
-		if(input->display->data_device_manager_version >= 2)
+		if (input->display->data_device_manager_version >= 2)
 			wl_data_device_release(input->data_device);
 		else
 			wl_data_device_destroy(input->data_device);