summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2021-05-01 00:03:31 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2021-05-01 00:03:31 +0300
commit0cd7e91d6e31c1fd9934061b6fe49c2975292532 (patch)
tree4bffd8bcadaffa6d557ef3aff74964a4b03da05c
parent5f88fa130785f498aa68e5d57be3a418457a38f3 (diff)
downloadlibwnck-0cd7e91d6e31c1fd9934061b6fe49c2975292532.tar.gz
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.
-rw-r--r--libwnck/pager.c2
1 files changed, 1 insertions, 1 deletions
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;