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 502aae0

Browse filesBrowse files
authored
Merge pull request #23926 from meeseeksmachine/auto-backport-of-pr-23925-on-v3.6.x
Backport PR #23925 on branch v3.6.x (FIX: use process_event in dpi changes on macosx backend)
2 parents 33c6538 + 9fc3e05 commit 502aae0
Copy full SHA for 502aae0

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.