summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-03-04 11:20:31 -0500
committerChris Michael <cp.michael@samsung.com>2015-03-04 11:49:44 -0500
commitf23acbac8101d89f55da3775e7118dcbc2cdfe27 (patch)
tree0ef8df998878ab21df72fce29d7d35c21bad5add /src
parenta950371b1064132f9868e2adc36846205bdf55fb (diff)
ecore-drm: Fix formatting
Summary: No functional changes, just formatting fixes Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm/ecore_drm_evdev.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_evdev.c b/src/lib/ecore_drm/ecore_drm_evdev.c
index 054858adf0..3f471019ca 100644
--- a/src/lib/ecore_drm/ecore_drm_evdev.c
+++ b/src/lib/ecore_drm/ecore_drm_evdev.c
@@ -350,13 +350,18 @@ _device_pointer_motion(Ecore_Drm_Evdev *edev, struct libinput_event_pointer *eve
350 if (edev->mouse.ix < output->x) 350 if (edev->mouse.ix < output->x)
351 edev->mouse.dx = edev->mouse.ix = output->x; 351 edev->mouse.dx = edev->mouse.ix = output->x;
352 else if (edev->mouse.ix >= (output->x + output->current_mode->width)) 352 else if (edev->mouse.ix >= (output->x + output->current_mode->width))
353 edev->mouse.dx = 353 {
354 edev->mouse.ix = (output->x + output->current_mode->width - 1); 354 edev->mouse.dx =
355 edev->mouse.ix = (output->x + output->current_mode->width - 1);
356 }
355 357
356 if (edev->mouse.iy < output->y) 358 if (edev->mouse.iy < output->y)
357 edev->mouse.dy = edev->mouse.iy = output->y; 359 edev->mouse.dy = edev->mouse.iy = output->y;
358 else if (edev->mouse.iy >= (output->y + output->current_mode->height)) 360 else if (edev->mouse.iy >= (output->y + output->current_mode->height))
359 edev->mouse.dy = edev->mouse.iy = (output->y + output->current_mode->height - 1); 361 {
362 edev->mouse.dy =
363 edev->mouse.iy = (output->y + output->current_mode->height - 1);
364 }
360 } 365 }
361 366
362 ev->window = (Ecore_Window)input->dev->window; 367 ev->window = (Ecore_Window)input->dev->window;