Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
988646fc
Commit
988646fc
authored
Dec 21, 2000
by
Jason Rumney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(x_draw_hollow_cursor): Delay obtaining the frame's DC to avoid
returning without releasing it.
parent
3e27fa1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/w32term.c
src/w32term.c
+2
-2
No files found.
src/w32term.c
View file @
988646fc
...
...
@@ -8741,7 +8741,7 @@ x_draw_hollow_cursor (w, row)
struct glyph_row *row;
{
struct frame *f = XFRAME (WINDOW_FRAME (w));
HDC hdc
= get_frame_dc (f)
;
HDC hdc;
RECT rect;
int wd;
struct glyph *cursor_glyph;
...
...
@@ -8770,7 +8770,7 @@ x_draw_hollow_cursor (w, row)
wd = min (CANON_X_UNIT (f), wd);
rect.right = rect.left + wd;
hdc = get_frame_dc (f);
FrameRect (hdc, &rect, hb);
DeleteObject (hb);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment