fix comments to specific the config option
parent
fa5a44e591
commit
180cc31d87
|
|
@ -623,9 +623,9 @@ pub const Surface = extern struct {
|
||||||
/// should be applied to the surface
|
/// should be applied to the surface
|
||||||
fn closureShouldUnfocusedSplitBeShown(
|
fn closureShouldUnfocusedSplitBeShown(
|
||||||
_: *Self,
|
_: *Self,
|
||||||
unfocused_split_: c_int,
|
unfocused_split: c_int,
|
||||||
) callconv(.c) c_int {
|
) callconv(.c) c_int {
|
||||||
return @intFromBool(unfocused_split_ != 0);
|
return @intFromBool(unfocused_split != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn toggleFullscreen(self: *Self) void {
|
pub fn toggleFullscreen(self: *Self) void {
|
||||||
|
|
@ -2025,7 +2025,7 @@ pub const Surface = extern struct {
|
||||||
_ = glib.idleAddOnce(idleFocus, self.ref());
|
_ = glib.idleAddOnce(idleFocus, self.ref());
|
||||||
self.as(gobject.Object).notifyByPspec(properties.focused.impl.param_spec);
|
self.as(gobject.Object).notifyByPspec(properties.focused.impl.param_spec);
|
||||||
|
|
||||||
// remove unfocused split fill and opacity
|
// remove unfocused-split-fill and unfocused-split-opacity
|
||||||
priv.unfocused_split = false;
|
priv.unfocused_split = false;
|
||||||
self.as(gobject.Object).notifyByPspec(properties.@"unfocused-split".impl.param_spec);
|
self.as(gobject.Object).notifyByPspec(properties.@"unfocused-split".impl.param_spec);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@ Overlay terminal_page {
|
||||||
}
|
}
|
||||||
|
|
||||||
[overlay]
|
[overlay]
|
||||||
// Apply unfocused-split-fill and unfocused-split opacity to current surface
|
// Apply unfocused-split-fill and unfocused-split-opacity to current surface
|
||||||
// this is only applied when a tab has more than one surface
|
// this is only applied when a tab has more than one surface
|
||||||
Revealer {
|
Revealer {
|
||||||
reveal-child: bind $should_unfocused_split_be_shown(template.unfocused-split) as <bool>;
|
reveal-child: bind $should_unfocused_split_be_shown(template.unfocused-split) as <bool>;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue