Skip to content

Commit ae50120

Browse files
authored
back/x11: demote the failed-offset-detection log to a debug log (#163)
-[XGServer(WindowOps) _checkStyle:] logs "Failed to determine offsets for style" once per window style when the window manager does not reparent. This is expected on rootless and exported servers and prints fifteen lines on start. The result is handled by guessing the offsets instead, so make this a debug log, as was already done for the guessing message in 9299fa1.
1 parent bfbfc57 commit ae50120

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/x11/XGServerWindow.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ - (BOOL) _checkStyle: (unsigned)style
11511151
}
11521152
if (o->known == NO)
11531153
{
1154-
NSLog(@"Failed to determine offsets for style %d", style);
1154+
NSDebugLLog(@"Offset", @"Failed to determine offsets for style %d", style);
11551155
return NO;
11561156
}
11571157
return YES;

0 commit comments

Comments
 (0)