Skip to content
Commit 2fc0f058 authored by Alberts Muktupāvels's avatar Alberts Muktupāvels Committed by Marco Trevisan
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment