aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-09-29 20:44:00 +0200
committeremersion <contact@emersion.fr>2017-09-29 20:44:00 +0200
commit98707c16adc405d6ffaf9fe0a8f466a40f50ef85 (patch)
tree96051ddafc6f4e58c8e05edd609066e54f613619 /rootston
parent7c9f3240f67ebb9e5070ab41b9d8c23951df977e (diff)
Code style
Diffstat (limited to 'rootston')
-rw-r--r--rootston/xwayland.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/rootston/xwayland.c b/rootston/xwayland.c
index 685681d9..9f2cc849 100644
--- a/rootston/xwayland.c
+++ b/rootston/xwayland.c
@@ -28,8 +28,8 @@ static void handle_configure(struct wl_listener *listener, void *data) {
xwayland_surface->width = event->width;
xwayland_surface->height = event->height;
- roots_surface->view->x = (double) event->x;
- roots_surface->view->y = (double) event->y;
+ roots_surface->view->x = (double)event->x;
+ roots_surface->view->y = (double)event->y;
wlr_xwayland_surface_configure(roots_surface->view->desktop->xwayland,
xwayland_surface);
@@ -60,8 +60,8 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data) {
struct roots_view *view = calloc(1, sizeof(struct roots_view));
view->type = ROOTS_XWAYLAND_VIEW;
- view->x = (double) surface->x;
- view->y = (double) surface->y;
+ view->x = (double)surface->x;
+ view->y = (double)surface->y;
view->xwayland_surface = surface;
view->roots_xwayland_surface = roots_surface;
view->wlr_surface = surface->surface;