mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-23 12:16:11 +03:00
apprt/gtk-ng: correct default mouse shapes
This commit is contained in:
@ -83,7 +83,7 @@ pub const Surface = extern struct {
|
|||||||
.{
|
.{
|
||||||
.nick = "Mouse Shape",
|
.nick = "Mouse Shape",
|
||||||
.blurb = "The current mouse shape to show for the surface.",
|
.blurb = "The current mouse shape to show for the surface.",
|
||||||
.default = .default,
|
.default = .text,
|
||||||
.accessor = gobject.ext.privateFieldAccessor(
|
.accessor = gobject.ext.privateFieldAccessor(
|
||||||
Self,
|
Self,
|
||||||
Private,
|
Private,
|
||||||
@ -563,6 +563,8 @@ pub const Surface = extern struct {
|
|||||||
priv.rt_surface = .{ .surface = self };
|
priv.rt_surface = .{ .surface = self };
|
||||||
priv.precision_scroll = false;
|
priv.precision_scroll = false;
|
||||||
priv.cursor_pos = .{ .x = 0, .y = 0 };
|
priv.cursor_pos = .{ .x = 0, .y = 0 };
|
||||||
|
priv.mouse_shape = .text;
|
||||||
|
priv.mouse_hidden = false;
|
||||||
priv.size = .{
|
priv.size = .{
|
||||||
// Funky numbers on purpose so they stand out if for some reason
|
// Funky numbers on purpose so they stand out if for some reason
|
||||||
// our size doesn't get properly set.
|
// our size doesn't get properly set.
|
||||||
|
Reference in New Issue
Block a user