We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 743e5d4 commit eb64fdaCopy full SHA for eb64fda
src/shell/element/window.rs
@@ -256,7 +256,7 @@ impl CosmicWindow {
256
|| (point_i32.y - geo.loc.y >= -RESIZE_BORDER && point_i32.y - geo.loc.y < 0)
257
|| (point_i32.x - geo.loc.x >= geo.size.w
258
&& point_i32.x - geo.loc.x < geo.size.w + RESIZE_BORDER)
259
- || (point_i32.y - geo.loc.y >= geo.size.h
+ || (point_i32.y - geo.loc.y >= geo.size.h + SSD_HEIGHT
260
&& point_i32.y - geo.loc.y < geo.size.h + SSD_HEIGHT + RESIZE_BORDER)
261
{
262
window_ui = Some((
@@ -271,7 +271,9 @@ impl CosmicWindow {
271
Point::from((0., 0.)),
272
));
273
}
274
+ }
275
276
+ if p.has_ssd(false) {
277
relative_pos.y -= SSD_HEIGHT as f64;
278
offset.y += SSD_HEIGHT as f64;
279
0 commit comments