pager: don't return invalid workspace rect
Make sure that get_workspace_rect does not return invalid workspace rectangle. Looks like this functions gets called before allocation is set on pager widget. In this case set rect->{x,y,widht,height} to 0. This fixes following bug in gnome-pane: *** BUG *** In pixman_region32_init_rect: Invalid rectangle passed Set a breakpoint on '_pixman_log_error' to debug
parent
eddfee28
Please register or sign in to comment