Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9fc3e05

Browse filesBrowse files
tacaswellmeeseeksmachine
authored andcommitted
Backport PR #23925: FIX: use process_event in dpi changes on macosx backend
1 parent 33c6538 commit 9fc3e05
Copy full SHA for 9fc3e05

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎src/_macosx.m

Copy file name to clipboardExpand all lines: src/_macosx.m
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,8 @@ - (void)updateDevicePixelRatio:(double)scale
13521352
}
13531353
if (PyObject_IsTrue(change)) {
13541354
// Notify that there was a resize_event that took place
1355-
gil_call_method(canvas, "resize_event");
1355+
PROCESS_EVENT("ResizeEvent", "sO", "resize_event", canvas);
1356+
gil_call_method(canvas, "draw_idle");
13561357
[self setNeedsDisplay: YES];
13571358
}
13581359

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.