Check-in [356765ca5b]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Do not draw to unmapped windows. (CVS 1266)
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:356765ca5bde51dc10f062631b4d77f11e603cf5
User & Date: danielk1977 2008-02-14 08:43:49
Context
2008-02-15
18:23
Move towards the new javascript architecture. One js interpreter per frame, special wrapper objects to allow scripts in one interpreter to use the objects from another. (CVS 1267) check-in: 5861340a25 user: danielk1977 tags: trunk
2008-02-14
08:43
Do not draw to unmapped windows. (CVS 1266) check-in: 356765ca5b user: danielk1977 tags: trunk
08:39
Fix a crash in the code for handling malformed html tables. (CVS 1265) check-in: 1566da3fee user: danielk1977 tags: trunk
Changes

Changes to src/htmldraw.c.

26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
....
4414
4415
4416
4417
4418
4419
4420

4421
4422
4423
4424
4425
4426
4427
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
*/
static const char rcsid[] = "$Id: htmldraw.c,v 1.207 2008/02/02 17:15:02 danielk1977 Exp $";

#include "html.h"
#include <assert.h>
#include <X11/Xutil.h>


/*-------------------------------------------------------------------------
................................................................................
    int x;
    int y;
    int w;
    int h;
    int windowsrepair;
{
    /* if( !pTree->options.enablelayout ) return; */


    /* Make sure the widget main window exists before painting anything */
    Tk_MakeWindowExist(pTree->tkwin);
    Tk_MakeWindowExist(pTree->docwin);

    widgetRepair(pTree, x, y, w, h, windowsrepair);
    if (windowsrepair) {







|







 







>







26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
....
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
*/
static const char rcsid[] = "$Id: htmldraw.c,v 1.208 2008/02/14 08:43:49 danielk1977 Exp $";

#include "html.h"
#include <assert.h>
#include <X11/Xutil.h>


/*-------------------------------------------------------------------------
................................................................................
    int x;
    int y;
    int w;
    int h;
    int windowsrepair;
{
    /* if( !pTree->options.enablelayout ) return; */
    if (!Tk_IsMapped(pTree->tkwin)) return;

    /* Make sure the widget main window exists before painting anything */
    Tk_MakeWindowExist(pTree->tkwin);
    Tk_MakeWindowExist(pTree->docwin);

    widgetRepair(pTree, x, y, w, h, windowsrepair);
    if (windowsrepair) {