File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -1610,13 +1610,10 @@ constrain_partially_onscreen (MetaWindow *window,
16101610 bottom_amount = info -> current .height + info -> borders -> visible .bottom ;
16111611 vert_amount_onscreen = info -> borders -> visible .top ;
16121612 }
1613- else if ( meta_window_is_client_decorated ( window ))
1613+ else
16141614 {
1615- top_amount = vert_amount_onscreen = CSD_TITLEBAR_HEIGHT * scale ; /* Hardcoded for now, we don't get this from Gtk */
1616- bottom_amount = vert_amount_offscreen = MAX ((info -> current .height - (vert_amount_onscreen * 2 )), 0 );
1615+ bottom_amount = vert_amount_offscreen ;
16171616 }
1618- else
1619- bottom_amount = vert_amount_offscreen ;
16201617
16211618 /* Extend the region, have a helper function handle the constraint,
16221619 * then return the region to its original size.
You can’t perform that action at this time.
0 commit comments