gtk-ng: a couple of minor fixes (#8157)

A couple of minor fixes that I found while exploring tonight:

- OSC 22 wasn't working on gtk-ng. Fixed by setting the cursor shape
directly on the surface.
- Removed use of deprecated property on GLArea
pull/8167/head
Mitchell Hashimoto 2025-08-05 20:13:56 -07:00 committed by GitHub
commit 1a74ce1b10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1495,7 +1495,7 @@ pub const Surface = extern struct {
};
// Set our new cursor.
priv.gl_area.as(gtk.Widget).setCursorFromName(name.ptr);
self.as(gtk.Widget).setCursorFromName(name.ptr);
}
//---------------------------------------------------------------

View File

@ -30,7 +30,7 @@ template $GhosttySurface: Adw.Bin {
focus-on-click: true;
has-stencil-buffer: false;
has-depth-buffer: false;
use-es: false;
allowed-apis: gl;
}
PopoverMenu context_menu {