diff options
author | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
commit | 825a3d837a33f226c879cd02ad15c3fba57e8b2c (patch) | |
tree | 75f57bd9c4253508d338dc79ba8e57a7abc42255 /libraries/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c | |
parent | Add ability to disable the test harness, or the Lua compile test. (diff) | |
download | SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.zip SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.gz SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.bz2 SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.xz |
Update the EFL to what I'm actually using, coz I'm using some stuff not yet released.
Diffstat (limited to 'libraries/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c')
-rw-r--r-- | libraries/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c index 43153ff..b919db9 100644 --- a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c +++ b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c | |||
@@ -30,24 +30,24 @@ _ecore_x_composite_init(void) | |||
30 | # endif | 30 | # endif |
31 | } | 31 | } |
32 | #endif | 32 | #endif |
33 | } /* _ecore_x_composite_init */ | 33 | } |
34 | 34 | ||
35 | EAPI Eina_Bool | 35 | EAPI Eina_Bool |
36 | ecore_x_composite_query(void) | 36 | ecore_x_composite_query(void) |
37 | { | 37 | { |
38 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 38 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
39 | return _composite_available; | 39 | return _composite_available; |
40 | } /* ecore_x_composite_query */ | 40 | } |
41 | 41 | ||
42 | EAPI void | 42 | EAPI void |
43 | ecore_x_composite_redirect_window(Ecore_X_Window win, | 43 | ecore_x_composite_redirect_window(Ecore_X_Window win, |
44 | Ecore_X_Composite_Update_Type type) | 44 | Ecore_X_Composite_Update_Type type) |
45 | { | 45 | { |
46 | #ifdef ECORE_XCOMPOSITE | 46 | #ifdef ECORE_XCOMPOSITE |
47 | int update = CompositeRedirectAutomatic; | 47 | int update = CompositeRedirectAutomatic; |
48 | 48 | ||
49 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 49 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
50 | switch(type) | 50 | switch (type) |
51 | { | 51 | { |
52 | case ECORE_X_COMPOSITE_UPDATE_AUTOMATIC: | 52 | case ECORE_X_COMPOSITE_UPDATE_AUTOMATIC: |
53 | update = CompositeRedirectAutomatic; | 53 | update = CompositeRedirectAutomatic; |
@@ -56,20 +56,20 @@ ecore_x_composite_redirect_window(Ecore_X_Window win, | |||
56 | case ECORE_X_COMPOSITE_UPDATE_MANUAL: | 56 | case ECORE_X_COMPOSITE_UPDATE_MANUAL: |
57 | update = CompositeRedirectManual; | 57 | update = CompositeRedirectManual; |
58 | break; | 58 | break; |
59 | } /* switch */ | 59 | } |
60 | XCompositeRedirectWindow(_ecore_x_disp, win, update); | 60 | XCompositeRedirectWindow(_ecore_x_disp, win, update); |
61 | #endif /* ifdef ECORE_XCOMPOSITE */ | 61 | #endif /* ifdef ECORE_XCOMPOSITE */ |
62 | } /* ecore_x_composite_redirect_window */ | 62 | } |
63 | 63 | ||
64 | EAPI void | 64 | EAPI void |
65 | ecore_x_composite_redirect_subwindows(Ecore_X_Window win, | 65 | ecore_x_composite_redirect_subwindows(Ecore_X_Window win, |
66 | Ecore_X_Composite_Update_Type type) | 66 | Ecore_X_Composite_Update_Type type) |
67 | { | 67 | { |
68 | #ifdef ECORE_XCOMPOSITE | 68 | #ifdef ECORE_XCOMPOSITE |
69 | int update = CompositeRedirectAutomatic; | 69 | int update = CompositeRedirectAutomatic; |
70 | 70 | ||
71 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 71 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
72 | switch(type) | 72 | switch (type) |
73 | { | 73 | { |
74 | case ECORE_X_COMPOSITE_UPDATE_AUTOMATIC: | 74 | case ECORE_X_COMPOSITE_UPDATE_AUTOMATIC: |
75 | update = CompositeRedirectAutomatic; | 75 | update = CompositeRedirectAutomatic; |
@@ -78,20 +78,20 @@ ecore_x_composite_redirect_subwindows(Ecore_X_Window win, | |||
78 | case ECORE_X_COMPOSITE_UPDATE_MANUAL: | 78 | case ECORE_X_COMPOSITE_UPDATE_MANUAL: |
79 | update = CompositeRedirectManual; | 79 | update = CompositeRedirectManual; |
80 | break; | 80 | break; |
81 | } /* switch */ | 81 | } |
82 | XCompositeRedirectSubwindows(_ecore_x_disp, win, update); | 82 | XCompositeRedirectSubwindows(_ecore_x_disp, win, update); |
83 | #endif /* ifdef ECORE_XCOMPOSITE */ | 83 | #endif /* ifdef ECORE_XCOMPOSITE */ |
84 | } /* ecore_x_composite_redirect_subwindows */ | 84 | } |
85 | 85 | ||
86 | EAPI void | 86 | EAPI void |
87 | ecore_x_composite_unredirect_window(Ecore_X_Window win, | 87 | ecore_x_composite_unredirect_window(Ecore_X_Window win, |
88 | Ecore_X_Composite_Update_Type type) | 88 | Ecore_X_Composite_Update_Type type) |
89 | { | 89 | { |
90 | #ifdef ECORE_XCOMPOSITE | 90 | #ifdef ECORE_XCOMPOSITE |
91 | int update = CompositeRedirectAutomatic; | 91 | int update = CompositeRedirectAutomatic; |
92 | 92 | ||
93 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 93 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
94 | switch(type) | 94 | switch (type) |
95 | { | 95 | { |
96 | case ECORE_X_COMPOSITE_UPDATE_AUTOMATIC: | 96 | case ECORE_X_COMPOSITE_UPDATE_AUTOMATIC: |
97 | update = CompositeRedirectAutomatic; | 97 | update = CompositeRedirectAutomatic; |
@@ -100,20 +100,20 @@ ecore_x_composite_unredirect_window(Ecore_X_Window win, | |||
100 | case ECORE_X_COMPOSITE_UPDATE_MANUAL: | 100 | case ECORE_X_COMPOSITE_UPDATE_MANUAL: |
101 | update = CompositeRedirectManual; | 101 | update = CompositeRedirectManual; |
102 | break; | 102 | break; |
103 | } /* switch */ | 103 | } |
104 | XCompositeUnredirectWindow(_ecore_x_disp, win, update); | 104 | XCompositeUnredirectWindow(_ecore_x_disp, win, update); |
105 | #endif /* ifdef ECORE_XCOMPOSITE */ | 105 | #endif /* ifdef ECORE_XCOMPOSITE */ |
106 | } /* ecore_x_composite_unredirect_window */ | 106 | } |
107 | 107 | ||
108 | EAPI void | 108 | EAPI void |
109 | ecore_x_composite_unredirect_subwindows(Ecore_X_Window win, | 109 | ecore_x_composite_unredirect_subwindows(Ecore_X_Window win, |
110 | Ecore_X_Composite_Update_Type type) | 110 | Ecore_X_Composite_Update_Type type) |
111 | { | 111 | { |
112 | #ifdef ECORE_XCOMPOSITE | 112 | #ifdef ECORE_XCOMPOSITE |
113 | int update = CompositeRedirectAutomatic; | 113 | int update = CompositeRedirectAutomatic; |
114 | 114 | ||
115 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 115 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
116 | switch(type) | 116 | switch (type) |
117 | { | 117 | { |
118 | case ECORE_X_COMPOSITE_UPDATE_AUTOMATIC: | 118 | case ECORE_X_COMPOSITE_UPDATE_AUTOMATIC: |
119 | update = CompositeRedirectAutomatic; | 119 | update = CompositeRedirectAutomatic; |
@@ -122,10 +122,10 @@ ecore_x_composite_unredirect_subwindows(Ecore_X_Window win, | |||
122 | case ECORE_X_COMPOSITE_UPDATE_MANUAL: | 122 | case ECORE_X_COMPOSITE_UPDATE_MANUAL: |
123 | update = CompositeRedirectManual; | 123 | update = CompositeRedirectManual; |
124 | break; | 124 | break; |
125 | } /* switch */ | 125 | } |
126 | XCompositeUnredirectSubwindows(_ecore_x_disp, win, update); | 126 | XCompositeUnredirectSubwindows(_ecore_x_disp, win, update); |
127 | #endif /* ifdef ECORE_XCOMPOSITE */ | 127 | #endif /* ifdef ECORE_XCOMPOSITE */ |
128 | } /* ecore_x_composite_unredirect_subwindows */ | 128 | } |
129 | 129 | ||
130 | EAPI Ecore_X_Pixmap | 130 | EAPI Ecore_X_Pixmap |
131 | ecore_x_composite_name_window_pixmap_get(Ecore_X_Window win) | 131 | ecore_x_composite_name_window_pixmap_get(Ecore_X_Window win) |
@@ -136,7 +136,7 @@ ecore_x_composite_name_window_pixmap_get(Ecore_X_Window win) | |||
136 | pixmap = XCompositeNameWindowPixmap(_ecore_x_disp, win); | 136 | pixmap = XCompositeNameWindowPixmap(_ecore_x_disp, win); |
137 | #endif /* ifdef ECORE_XCOMPOSITE */ | 137 | #endif /* ifdef ECORE_XCOMPOSITE */ |
138 | return pixmap; | 138 | return pixmap; |
139 | } /* ecore_x_composite_name_window_pixmap_get */ | 139 | } |
140 | 140 | ||
141 | EAPI void | 141 | EAPI void |
142 | ecore_x_composite_window_events_disable(Ecore_X_Window win) | 142 | ecore_x_composite_window_events_disable(Ecore_X_Window win) |
@@ -163,7 +163,7 @@ ecore_x_composite_render_window_enable(Ecore_X_Window root) | |||
163 | ecore_x_composite_window_events_disable(win); | 163 | ecore_x_composite_window_events_disable(win); |
164 | #endif /* ifdef ECORE_XCOMPOSITE */ | 164 | #endif /* ifdef ECORE_XCOMPOSITE */ |
165 | return win; | 165 | return win; |
166 | } /* ecore_x_composite_render_window_enable */ | 166 | } |
167 | 167 | ||
168 | EAPI void | 168 | EAPI void |
169 | ecore_x_composite_render_window_disable(Ecore_X_Window root) | 169 | ecore_x_composite_render_window_disable(Ecore_X_Window root) |
@@ -172,5 +172,5 @@ ecore_x_composite_render_window_disable(Ecore_X_Window root) | |||
172 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 172 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
173 | XCompositeReleaseOverlayWindow(_ecore_x_disp, root); | 173 | XCompositeReleaseOverlayWindow(_ecore_x_disp, root); |
174 | #endif /* ifdef ECORE_XCOMPOSITE */ | 174 | #endif /* ifdef ECORE_XCOMPOSITE */ |
175 | } /* ecore_x_composite_render_window_disable */ | 175 | } |
176 | 176 | ||