[libwnck/wip/muktupavels/pager: 7/8] pager: reduce initial workspace_size




commit be490b0a87b51c4fa56fc81581fb2ed160c9cf35
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat May 1 00:03:31 2021 +0300

    pager: reduce initial workspace_size
    
    workspace_size was introduced in a414519d7b45 without any comment
    why default was set to 48. This is wrong as containers will be
    forced to underallocate widget to reduce size.

 libwnck/pager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libwnck/pager.c b/libwnck/pager.c
index c029287..a563a4d 100644
--- a/libwnck/pager.c
+++ b/libwnck/pager.c
@@ -219,7 +219,7 @@ wnck_pager_init (WnckPager *pager)
   pager->priv->wrap_on_scroll = FALSE;
 
   pager->priv->orientation = GTK_ORIENTATION_HORIZONTAL;
-  pager->priv->workspace_size = 48;
+  pager->priv->workspace_size = 16;
 
   for (i = 0; i < N_SCREEN_CONNECTIONS; i++)
     pager->priv->screen_connections[i] = 0;


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