Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3834,7 +3834,17 @@ void cairoClipRegion (long cairo) {
eventRegion = actualRegion;
}

@Override
void snapshotToDraw(long handle, long snapshot) {
if (GTK.GTK4 && handle == fixedHandle) {
// The fixedHandle has nothing to draw itself, so skip drawing on this handle
// and let Display.snapshotDrawProc call gtk_widget_snapshot_child on
// the child widgets
return;
}

super.snapshotToDraw(handle, snapshot);
}

@Override
void gtk4_draw(long widget, long cairo, Rectangle bounds) {
Expand Down
Loading