diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2021-05-03 17:32:42 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2021-05-03 18:14:42 +0300 |
commit | 6aed73c2cac284d9e5eb34873e026dc52df03e0c (patch) | |
tree | b84a8459d8553030d8f80a6220cd981feae360d5 | |
parent | aea554edaab8d133f2dccb7df0b4d4923257525e (diff) | |
download | libwnck-6aed73c2cac284d9e5eb34873e026dc52df03e0c.tar.gz |
revert "tasklist: ignore size_allocate with invalid size"
This reverts commit a77f3cfd27a828cd11c92f06b95ea3fbbe73b63f.
Container should allocate at least required minimum size!
-rw-r--r-- | libwnck/tasklist.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libwnck/tasklist.c b/libwnck/tasklist.c index 5f880fa..48f07f6 100644 --- a/libwnck/tasklist.c +++ b/libwnck/tasklist.c @@ -1573,12 +1573,6 @@ wnck_tasklist_size_allocate (GtkWidget *widget, GList *windows_sorted = NULL; int grouping_limit; - if (allocation->width <= 1 || allocation->height <= 1) - { - GTK_WIDGET_CLASS (wnck_tasklist_parent_class)->size_allocate (widget, allocation); - return; - } - tasklist = WNCK_TASKLIST (widget); n_windows = g_list_length (tasklist->priv->windows); |