summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-06-20 09:43:56 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2020-06-23 10:29:14 +0200
commit1fd0435f21ef74f28417fbb832aad764e618d9fb (patch)
tree9e504657c5f92ec2a025e0ad267ee70747bffc48 /src/lib/ecore_evas
parentc2be0d0dba1e11bcedbe41997fe0ea9b98014289 (diff)
Get rid of trailing whitespaces (4 / 14)
Remove trailing whitespaces Differential Revision: https://phab.enlightenment.org/D12002
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/Ecore_Evas_Types.h2
-rw-r--r--src/lib/ecore_evas/ecore_evas_buffer.c14
-rw-r--r--src/lib/ecore_evas/ecore_evas_ews.c2
-rw-r--r--src/lib/ecore_evas/ecore_evas_extn.h2
-rw-r--r--src/lib/ecore_evas/ecore_evas_wayland.h2
5 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/ecore_evas/Ecore_Evas_Types.h b/src/lib/ecore_evas/Ecore_Evas_Types.h
index fae0b0e16f..aa93c97164 100644
--- a/src/lib/ecore_evas/Ecore_Evas_Types.h
+++ b/src/lib/ecore_evas/Ecore_Evas_Types.h
@@ -12,7 +12,7 @@
12typedef unsigned int Ecore_X_Window; 12typedef unsigned int Ecore_X_Window;
13typedef unsigned int Ecore_X_Pixmap; 13typedef unsigned int Ecore_X_Pixmap;
14typedef unsigned int Ecore_X_Atom; 14typedef unsigned int Ecore_X_Atom;
15typedef struct _Ecore_X_Icon 15typedef struct _Ecore_X_Icon
16{ 16{
17 unsigned int width, height; 17 unsigned int width, height;
18 unsigned int *data; 18 unsigned int *data;
diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c b/src/lib/ecore_evas/ecore_evas_buffer.c
index 390ddd4a99..2f3f2ff72b 100644
--- a/src/lib/ecore_evas/ecore_evas_buffer.c
+++ b/src/lib/ecore_evas/ecore_evas_buffer.c
@@ -239,7 +239,7 @@ _ecore_evas_buffer_coord_translate(Ecore_Evas *ee, Evas_Coord *x, Evas_Coord *y)
239 fw = ee->w; fh = ee->h; 239 fw = ee->w; fh = ee->h;
240 ww = ee->w; hh = ee->h; 240 ww = ee->w; hh = ee->h;
241 } 241 }
242 242
243 if ((fx == 0) && (fy == 0) && (fw == ww) && (fh == hh)) 243 if ((fx == 0) && (fy == 0) && (fw == ww) && (fh == hh))
244 { 244 {
245 *x = (ee->w * (*x - xx)) / fw; 245 *x = (ee->w * (*x - xx)) / fw;
@@ -262,12 +262,12 @@ _ecore_evas_buffer_coord_translate(Ecore_Evas *ee, Evas_Coord *x, Evas_Coord *y)
262static void 262static void
263_ecore_evas_buffer_transfer_modifiers_locks(Evas *e, Evas *e2) 263_ecore_evas_buffer_transfer_modifiers_locks(Evas *e, Evas *e2)
264{ 264{
265 const char *mods[] = 265 const char *mods[] =
266 { "Shift", "Control", "Alt", "Meta", "Hyper", "Super", NULL }; 266 { "Shift", "Control", "Alt", "Meta", "Hyper", "Super", NULL };
267 const char *locks[] = 267 const char *locks[] =
268 { "Scroll_Lock", "Num_Lock", "Caps_Lock", NULL }; 268 { "Scroll_Lock", "Num_Lock", "Caps_Lock", NULL };
269 int i; 269 int i;
270 270
271 for (i = 0; mods[i]; i++) 271 for (i = 0; mods[i]; i++)
272 { 272 {
273 if (evas_key_modifier_is_set(evas_key_modifier_get(e), mods[i])) 273 if (evas_key_modifier_is_set(evas_key_modifier_get(e), mods[i]))
@@ -532,7 +532,7 @@ _ecore_evas_buffer_alpha_set(Ecore_Evas *ee, int alpha)
532 else 532 else
533 { 533 {
534 Evas_Engine_Info_Buffer *einfo; 534 Evas_Engine_Info_Buffer *einfo;
535 535
536 einfo = (Evas_Engine_Info_Buffer *)evas_engine_info_get(ee->evas); 536 einfo = (Evas_Engine_Info_Buffer *)evas_engine_info_get(ee->evas);
537 if (einfo) 537 if (einfo)
538 { 538 {
@@ -639,13 +639,13 @@ _ecore_evas_buffer_pointer_warp(const Ecore_Evas *ee, Evas_Coord x, Evas_Coord y
639 ev->root.y = y; 639 ev->root.y = y;
640 640
641 { 641 {
642 const char *mods[] = 642 const char *mods[] =
643 { "Shift", "Control", "Alt", "Super", NULL }; 643 { "Shift", "Control", "Alt", "Super", NULL };
644 int modifiers[] = 644 int modifiers[] =
645 { ECORE_EVENT_MODIFIER_SHIFT, ECORE_EVENT_MODIFIER_CTRL, ECORE_EVENT_MODIFIER_ALT, 645 { ECORE_EVENT_MODIFIER_SHIFT, ECORE_EVENT_MODIFIER_CTRL, ECORE_EVENT_MODIFIER_ALT,
646 ECORE_EVENT_MODIFIER_WIN, 0 }; 646 ECORE_EVENT_MODIFIER_WIN, 0 };
647 int i; 647 int i;
648 648
649 for (i = 0; mods[i]; i++) 649 for (i = 0; mods[i]; i++)
650 if (evas_key_modifier_is_set(evas_key_modifier_get(ee->evas), mods[i])) 650 if (evas_key_modifier_is_set(evas_key_modifier_get(ee->evas), mods[i]))
651 ev->modifiers |= modifiers[i]; 651 ev->modifiers |= modifiers[i];
diff --git a/src/lib/ecore_evas/ecore_evas_ews.c b/src/lib/ecore_evas/ecore_evas_ews.c
index 77a33f7094..86e939f765 100644
--- a/src/lib/ecore_evas/ecore_evas_ews.c
+++ b/src/lib/ecore_evas/ecore_evas_ews.c
@@ -644,7 +644,7 @@ static const Ecore_Evas_Engine_Func _ecore_ews_engine_func =
644 _ecore_evas_ews_transparent_set, 644 _ecore_evas_ews_transparent_set,
645 NULL, // profiles_set 645 NULL, // profiles_set
646 NULL, // profile_set 646 NULL, // profile_set
647 647
648 NULL, 648 NULL,
649 NULL, 649 NULL,
650 NULL, 650 NULL,
diff --git a/src/lib/ecore_evas/ecore_evas_extn.h b/src/lib/ecore_evas/ecore_evas_extn.h
index 67d9dffb76..dab82f69d9 100644
--- a/src/lib/ecore_evas/ecore_evas_extn.h
+++ b/src/lib/ecore_evas/ecore_evas_extn.h
@@ -3,7 +3,7 @@
3 3
4typedef struct _Ecore_Evas_Interface_Extn Ecore_Evas_Interface_Extn; 4typedef struct _Ecore_Evas_Interface_Extn Ecore_Evas_Interface_Extn;
5 5
6struct _Ecore_Evas_Interface_Extn 6struct _Ecore_Evas_Interface_Extn
7{ 7{
8 Ecore_Evas_Interface base; 8 Ecore_Evas_Interface base;
9 9
diff --git a/src/lib/ecore_evas/ecore_evas_wayland.h b/src/lib/ecore_evas/ecore_evas_wayland.h
index 2d6faa2ea8..b36d93cff0 100644
--- a/src/lib/ecore_evas/ecore_evas_wayland.h
+++ b/src/lib/ecore_evas/ecore_evas_wayland.h
@@ -3,7 +3,7 @@
3 3
4typedef struct _Ecore_Evas_Interface_Wayland Ecore_Evas_Interface_Wayland; 4typedef struct _Ecore_Evas_Interface_Wayland Ecore_Evas_Interface_Wayland;
5 5
6struct _Ecore_Evas_Interface_Wayland 6struct _Ecore_Evas_Interface_Wayland
7{ 7{
8 Ecore_Evas_Interface base; 8 Ecore_Evas_Interface base;
9 9