[gnome-shell/gbsneto/fix-switching-scale] fixup! st/theme-node: Consider scale factor when comparing



commit 1ec9755999dd7573db06636e4ba12b93e60f33bc
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Apr 3 18:08:02 2020 -0300

    fixup! st/theme-node: Consider scale factor when comparing

 src/st/st-theme-node.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/st/st-theme-node.c b/src/st/st-theme-node.c
index b553d1df7e..157fc2bbf4 100644
--- a/src/st/st-theme-node.c
+++ b/src/st/st-theme-node.c
@@ -399,6 +399,7 @@ st_theme_node_hash (StThemeNode *node)
   hash = hash * 33 + GPOINTER_TO_UINT (node->context);
   hash = hash * 33 + GPOINTER_TO_UINT (node->theme);
   hash = hash * 33 + ((guint) node->element_type);
+  hash = hash * 33 + ((guint) node->scale_factor);
 
   if (node->element_id != NULL)
     hash = hash * 33 + g_str_hash (node->element_id);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]