fix gl engine opt + pulse.
authorCarsten Haitzler <raster@rasterman.com>
Wed, 20 Feb 2013 03:08:33 +0000 (03:08 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Wed, 20 Feb 2013 03:08:33 +0000 (03:08 +0000)
SVN revision: 84249

legacy/elementary/ChangeLog
legacy/elementary/NEWS
legacy/elementary/src/lib/elm_progressbar.c
legacy/elementary/src/lib/elm_win.c

index 7a53923..c42c96f 100644 (file)
 
         * 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
index ba386a5..6d00924 100644 (file)
@@ -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
index 4b76eaa..73490d7 100644 (file)
@@ -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;
 
index 6f20d40..13b86a6 100644 (file)
@@ -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