mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-15 21:51:17 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user