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
This commit is contained in:
Mitchell Hashimoto
2025-08-05 20:13:56 -07:00
committed by GitHub
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 {