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 GLAreapull/8167/head
commit
1a74ce1b10
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue