xwayland: Add input handling for override redirect windows
This commit is contained in:
parent
0af8d5eb2d
commit
5dfefedb02
4 changed files with 76 additions and 10 deletions
|
|
@ -272,7 +272,6 @@ impl SpaceElement for CosmicWindow {
|
|||
self.0.with_program(|p| {
|
||||
let mut bbox = SpaceElement::bbox(&p.window);
|
||||
if p.has_ssd() {
|
||||
bbox.loc.y -= SSD_HEIGHT;
|
||||
bbox.size.h += SSD_HEIGHT;
|
||||
}
|
||||
bbox
|
||||
|
|
@ -310,7 +309,6 @@ impl SpaceElement for CosmicWindow {
|
|||
self.0.with_program(|p| {
|
||||
let mut geo = SpaceElement::geometry(&p.window);
|
||||
if p.has_ssd() {
|
||||
geo.loc.y -= SSD_HEIGHT;
|
||||
geo.size.h += SSD_HEIGHT;
|
||||
}
|
||||
geo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue