From aec477530da3c3377c57acb71542b9b4fec1fc5f Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 20 Feb 2013 03:08:33 +0000 Subject: [PATCH] fix gl engine opt + pulse. SVN revision: 84249 --- legacy/elementary/ChangeLog | 4 ++++ legacy/elementary/NEWS | 4 +++- legacy/elementary/src/lib/elm_progressbar.c | 2 +- legacy/elementary/src/lib/elm_win.c | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/legacy/elementary/ChangeLog b/legacy/elementary/ChangeLog index 7a53923ed7..c42c96f7e2 100644 --- a/legacy/elementary/ChangeLog +++ b/legacy/elementary/ChangeLog @@ -1047,3 +1047,7 @@ * Fix restacking issue on ctxpopup - resatck callback makes the bg object be top of ctxpopup. +2013-02-20 Carsten Haitzler (The Rasterman) + + * Fix gl engine vsync option pass-in in elm_win + * Fix elm_progressbar_pulse() to abort if pulsing not enabled diff --git a/legacy/elementary/NEWS b/legacy/elementary/NEWS index ba386a5517..6d00924544 100644 --- a/legacy/elementary/NEWS +++ b/legacy/elementary/NEWS @@ -155,7 +155,9 @@ Fixes: * ignore tab key widget focus change if control/alt is pressed * prevent blank entry hoversels * Fix restacking issue on ctxpopup - resatck callback makes the bg object be top of ctxpopup. - + * Fix vsync option in gl engine windows + * Fix elm_progressbar_pulse() to abort if pulsing not enabled + Removals: * All internal widget hooks (and related macros) were removed, due diff --git a/legacy/elementary/src/lib/elm_progressbar.c b/legacy/elementary/src/lib/elm_progressbar.c index 4b76eaa448..73490d759b 100644 --- a/legacy/elementary/src/lib/elm_progressbar.c +++ b/legacy/elementary/src/lib/elm_progressbar.c @@ -372,7 +372,7 @@ _pulse(Eo *obj, void *_pd, va_list *list) Elm_Progressbar_Smart_Data *sd = _pd; state = !!state; - if ((!sd->pulse) && (sd->pulse_state == state)) return; + if ((!sd->pulse) || (sd->pulse_state == state)) return; sd->pulse_state = state; diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c index 6f20d4022e..13b86a69d8 100644 --- a/legacy/elementary/src/lib/elm_win.c +++ b/legacy/elementary/src/lib/elm_win.c @@ -2657,6 +2657,7 @@ _win_constructor(Eo *obj, void *_pd, va_list *list) opt_i++; opt[opt_i] = 1; opt_i++; + opt[opt_i] = 0; } if (opt_i > 0) tmp_sd.ee = ecore_evas_gl_x11_options_new