summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elm_win.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 8e440fa8d..c4c21e335 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -2144,6 +2144,8 @@ elm_win_keyboard_win_set(Evas_Object *obj, Eina_Bool is_keyboard)
2144 _elm_win_xwindow_get(win); 2144 _elm_win_xwindow_get(win);
2145 if (win->xwin) 2145 if (win->xwin)
2146 ecore_x_e_virtual_keyboard_set(win->xwin, is_keyboard); 2146 ecore_x_e_virtual_keyboard_set(win->xwin, is_keyboard);
2147#else
2148 (void) is_keyboard;
2147#endif 2149#endif
2148} 2150}
2149 2151
@@ -2184,6 +2186,8 @@ elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant)
2184 _elm_win_xwindow_get(win); 2186 _elm_win_xwindow_get(win);
2185 if (win->xwin) 2187 if (win->xwin)
2186 ecore_x_e_illume_conformant_set(win->xwin, conformant); 2188 ecore_x_e_illume_conformant_set(win->xwin, conformant);
2189#else
2190 (void) conformant;
2187#endif 2191#endif
2188} 2192}
2189 2193
@@ -2224,6 +2228,8 @@ elm_win_quickpanel_set(Evas_Object *obj, Eina_Bool quickpanel)
2224 ecore_x_icccm_hints_set(win->xwin, 0, 0, 0, 0, 0, 0, 0); 2228 ecore_x_icccm_hints_set(win->xwin, 0, 0, 0, 0, 0, 0, 0);
2225 } 2229 }
2226 } 2230 }
2231#else
2232 (void) quickpanel;
2227#endif 2233#endif
2228} 2234}
2229 2235
@@ -2253,6 +2259,8 @@ elm_win_quickpanel_priority_major_set(Evas_Object *obj, int priority)
2253 _elm_win_xwindow_get(win); 2259 _elm_win_xwindow_get(win);
2254 if (win->xwin) 2260 if (win->xwin)
2255 ecore_x_e_illume_quickpanel_priority_major_set(win->xwin, priority); 2261 ecore_x_e_illume_quickpanel_priority_major_set(win->xwin, priority);
2262#else
2263 (void) priority;
2256#endif 2264#endif
2257} 2265}
2258 2266
@@ -2282,6 +2290,8 @@ elm_win_quickpanel_priority_minor_set(Evas_Object *obj, int priority)
2282 _elm_win_xwindow_get(win); 2290 _elm_win_xwindow_get(win);
2283 if (win->xwin) 2291 if (win->xwin)
2284 ecore_x_e_illume_quickpanel_priority_minor_set(win->xwin, priority); 2292 ecore_x_e_illume_quickpanel_priority_minor_set(win->xwin, priority);
2293#else
2294 (void) priority;
2285#endif 2295#endif
2286} 2296}
2287 2297
@@ -2311,6 +2321,8 @@ elm_win_quickpanel_zone_set(Evas_Object *obj, int zone)
2311 _elm_win_xwindow_get(win); 2321 _elm_win_xwindow_get(win);
2312 if (win->xwin) 2322 if (win->xwin)
2313 ecore_x_e_illume_quickpanel_zone_set(win->xwin, zone); 2323 ecore_x_e_illume_quickpanel_zone_set(win->xwin, zone);
2324#else
2325 (void) zone;
2314#endif 2326#endif
2315} 2327}
2316 2328
@@ -2350,6 +2362,8 @@ elm_win_prop_focus_skip_set(Evas_Object *obj, Eina_Bool skip)
2350 ecore_x_netwm_window_state_set(win->xwin, states, 2); 2362 ecore_x_netwm_window_state_set(win->xwin, states, 2);
2351 } 2363 }
2352 } 2364 }
2365#else
2366 (void) skip;
2353#endif 2367#endif
2354} 2368}
2355 2369
@@ -2382,6 +2396,8 @@ elm_win_illume_command_send(Evas_Object *obj, Elm_Illume_Command command, void *
2382 break; 2396 break;
2383 } 2397 }
2384 } 2398 }
2399#else
2400 (void) command;
2385#endif 2401#endif
2386} 2402}
2387 2403
@@ -2653,9 +2669,9 @@ elm_win_xwindow_get(const Evas_Object *obj)
2653 if (!obj) return 0; 2669 if (!obj) return 0;
2654 type = elm_widget_type_get(obj); 2670 type = elm_widget_type_get(obj);
2655 if ((!type) || (type != widtype)) return _elm_ee_win_get(obj); 2671 if ((!type) || (type != widtype)) return _elm_ee_win_get(obj);
2656#ifdef HAVE_ELEMENTARY_X
2657 win = elm_widget_data_get(obj); 2672 win = elm_widget_data_get(obj);
2658 if (!win) return 0; 2673 if (!win) return 0;
2674#ifdef HAVE_ELEMENTARY_X
2659 if (win->xwin) return win->xwin; 2675 if (win->xwin) return win->xwin;
2660 if (win->parent) return elm_win_xwindow_get(win->parent); 2676 if (win->parent) return elm_win_xwindow_get(win->parent);
2661#endif 2677#endif