Closed Bug 114334 Opened 23 years ago Closed 23 years ago

[Xlib] Need port of bug 114255 to Xlib-toolkit

Categories

(Core :: XUL, enhancement)

All
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.7

People

(Reporter: roland.mainz, Assigned: roland.mainz)

Details

Attachments

(1 file, 1 obsolete file)

Need a port of patch in bug 114255 ("nsRenderingContextGTK::CreateDrawingSurface doesn't always call UpdateGC") to Xlib toolkit.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.7
Attached patch Patch for 2001-11-30-08-trunk (obsolete) — Splinter Review
Keywords: patch, review
Comment on attachment 61032 [details] [diff] [review] Patch for 2001-11-30-08-trunk i really wish the logic here + if (!((aBounds->width > 0) && (aBounds->height > 0))) was inverted, but oh well.
Attachment #61032 - Flags: review+
Comment on attachment 61032 [details] [diff] [review] Patch for 2001-11-30-08-trunk Put the brace back up near the "if" to match the rest of the file and that function. Do we have to worry about mGC being null after UpdateGC()? I noticed that the surf->Init() call doesn't check mGC before it uses it. sr=kin@netscape.com
Attachment #61032 - Flags: superreview+
Btw, I agree with timeless: + if (aBounds->width <= 0 || aBounds->height <= 0) is much easier to read at a quick glance.
Attachment #61032 - Attachment is obsolete: true
bz: Wanna check this "in", please ?
checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: