When fullscreen, we don't actually update the frame's geometry, so we
can't query it for there.
static int
window_get_shadow_margin(struct window *window)
{
- if (window->frame)
+ if (window->frame && !window->fullscreen)
return frame_get_shadow_margin(window->frame->frame);
else
return 0;
static void
window_get_geometry(struct window *window, struct rectangle *geometry)
{
- if (window->frame)
+ if (window->frame && !window->fullscreen)
frame_input_rect(window->frame->frame,
&geometry->x,
&geometry->y,