[libwnck/wip/muktupavels/tasklist: 1/5] revert "tasklist: ignore size_allocate with invalid size"




commit 6aed73c2cac284d9e5eb34873e026dc52df03e0c
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Mon May 3 17:32:42 2021 +0300

    revert "tasklist: ignore size_allocate with invalid size"
    
    This reverts commit a77f3cfd27a828cd11c92f06b95ea3fbbe73b63f.
    
    Container should allocate at least required minimum size!

 libwnck/tasklist.c | 6 ------
 1 file changed, 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);


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