diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/ecore/src/lib/ecore_x/xlib/ecore_x_randr_13.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_randr_13.c b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_randr_13.c index ab242f7..5d1c8e9 100644 --- a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_randr_13.c +++ b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_randr_13.c | |||
@@ -8,6 +8,10 @@ | |||
8 | 8 | ||
9 | #include "ecore_x_private.h" | 9 | #include "ecore_x_private.h" |
10 | #include "ecore_x_randr.h" | 10 | #include "ecore_x_randr.h" |
11 | #include <stdio.h> | ||
12 | #include <stdlib.h> | ||
13 | #include <unistd.h> | ||
14 | #include <string.h> | ||
11 | 15 | ||
12 | #define Ecore_X_Randr_None 0 | 16 | #define Ecore_X_Randr_None 0 |
13 | #define Ecore_X_Randr_Unset -1 | 17 | #define Ecore_X_Randr_Unset -1 |
@@ -15,7 +19,8 @@ | |||
15 | #ifdef ECORE_XRANDR | 19 | #ifdef ECORE_XRANDR |
16 | 20 | ||
17 | #define RANDR_1_3 ((1 << 16) | 3) | 21 | #define RANDR_1_3 ((1 << 16) | 3) |
18 | #define RANDR_CHECK_1_3_RET(ret) if(_randr_version < RANDR_1_3) return ret | 22 | #define RANDR_CHECK_1_3_RET(ret) if (_randr_version < RANDR_1_3) \ |
23 | return ret | ||
19 | 24 | ||
20 | extern XRRScreenResources *(*_ecore_x_randr_get_screen_resources)(Display * | 25 | extern XRRScreenResources *(*_ecore_x_randr_get_screen_resources)(Display * |
21 | dpy, | 26 | dpy, |
@@ -47,7 +52,7 @@ ecore_x_randr_primary_output_get(Ecore_X_Window root) | |||
47 | * @param output that should be set as given root window's screen primary output | 52 | * @param output that should be set as given root window's screen primary output |
48 | */ | 53 | */ |
49 | EAPI void | 54 | EAPI void |
50 | ecore_x_randr_primary_output_set(Ecore_X_Window root, | 55 | ecore_x_randr_primary_output_set(Ecore_X_Window root, |
51 | Ecore_X_Randr_Output output) | 56 | Ecore_X_Randr_Output output) |
52 | { | 57 | { |
53 | #ifdef ECORE_XRANDR | 58 | #ifdef ECORE_XRANDR |