gtk: fix comment in Window.updateConfig

This commit is contained in:
Jeffrey C. Ollie
2025-02-18 23:28:10 -06:00
parent d1fa933006
commit 2697061e5b

View File

@ -361,7 +361,7 @@ pub fn updateConfig(
config: *const configpkg.Config, config: *const configpkg.Config,
) !void { ) !void {
// avoid multiple reconfigs when we have many surfaces contained in this // avoid multiple reconfigs when we have many surfaces contained in this
// surface using the integer value of config as a simple marker to know if // window using the integer value of config as a simple marker to know if
// we've "seen" this particular config before // we've "seen" this particular config before
const this_config = @intFromPtr(config); const this_config = @intFromPtr(config);
if (self.last_config == this_config) return; if (self.last_config == this_config) return;