summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-03-04 13:37:35 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-03-04 13:37:35 -0500
commitcd3cad0ff1c166849ba4f8afdd40f506569ec3bb (patch)
treea3592ecdc5dfe5f6997a12ccb3174d84145d340d /src
parentfaf6d4f4256dd644a24aa1f24589df8f3b5f67ff (diff)
efl.ui.win: remove 'noblank' property from eo api
Summary: this is not supportable outside xorg usage ref T7511 Depends on D8084 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7511 Differential Revision: https://phab.enlightenment.org/D8085
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/efl_ui_win.c24
-rw-r--r--src/lib/elementary/efl_ui_win.eo25
2 files changed, 7 insertions, 42 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 43ecc9d864..0b6fafd966 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -5978,21 +5978,6 @@ _efl_ui_win_accel_preference_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd)
5978} 5978}
5979 5979
5980EOLIAN static void 5980EOLIAN static void
5981_efl_ui_win_noblank_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, Eina_Bool noblank)
5982{
5983 noblank = !!noblank;
5984 if (pd->noblank == noblank) return;
5985 pd->noblank = noblank;
5986 _win_noblank_eval();
5987}
5988
5989EOLIAN static Eina_Bool
5990_efl_ui_win_noblank_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd)
5991{
5992 return pd->noblank;
5993}
5994
5995EOLIAN static void
5996_efl_ui_win_win_role_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, const char *role) 5981_efl_ui_win_win_role_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, const char *role)
5997{ 5982{
5998 if (!role) return; 5983 if (!role) return;
@@ -9238,13 +9223,18 @@ elm_win_sticky_get(const Evas_Object *obj)
9238EAPI void 9223EAPI void
9239elm_win_noblank_set(Evas_Object *obj, Eina_Bool noblank) 9224elm_win_noblank_set(Evas_Object *obj, Eina_Bool noblank)
9240{ 9225{
9241 efl_ui_win_noblank_set(obj, noblank); 9226 Efl_Ui_Win_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
9227 noblank = !!noblank;
9228 if (sd->noblank == noblank) return;
9229 sd->noblank = noblank;
9230 _win_noblank_eval();
9242} 9231}
9243 9232
9244EAPI Eina_Bool 9233EAPI Eina_Bool
9245elm_win_noblank_get(const Evas_Object *obj) 9234elm_win_noblank_get(const Evas_Object *obj)
9246{ 9235{
9247 return efl_ui_win_noblank_get(obj); 9236 Efl_Ui_Win_Data *sd = efl_data_scope_safe_get(obj, MY_CLASS);
9237 return sd->noblank;
9248} 9238}
9249 9239
9250EAPI void 9240EAPI void
diff --git a/src/lib/elementary/efl_ui_win.eo b/src/lib/elementary/efl_ui_win.eo
index 94b283096e..51fed270ef 100644
--- a/src/lib/elementary/efl_ui_win.eo
+++ b/src/lib/elementary/efl_ui_win.eo
@@ -388,31 +388,6 @@ class @beta Efl.Ui.Win extends Efl.Ui.Widget implements Efl.Canvas.Scene, Efl.Ac
388 modal: Efl.Ui.Win_Modal_Mode; [[The mode of a window, one of @Efl.Ui.Win_Modal_Mode.]] 388 modal: Efl.Ui.Win_Modal_Mode; [[The mode of a window, one of @Efl.Ui.Win_Modal_Mode.]]
389 } 389 }
390 } 390 }
391 @property noblank {
392 set {
393 [[Set the noblank property of a window.
394
395 The "noblank" property is a way to request the display on
396 which the window is shown does not blank, go to screensaver or
397 otherwise hide or obscure the window. It is intended for
398 uses such as media playback on a television where a user
399 may not want to be interrupted by an idle screen. The
400 noblank property may have no effect if the window is
401 minimized or hidden.
402
403 @since 1.11
404 ]]
405 }
406 get {
407 [[Get the noblank property of a window.
408
409 @since 1.11
410 ]]
411 }
412 values {
413 noblank: bool; [[If $true, the window is set to noblank.]]
414 }
415 }
416 @property borderless { 391 @property borderless {
417 set { 392 set {
418 [[Set the borderless state of a window. 393 [[Set the borderless state of a window.