shell: Refactor move_request, consider sticky windows
This commit is contained in:
parent
775e0ccbdc
commit
769b7d6996
8 changed files with 247 additions and 191 deletions
|
|
@ -412,7 +412,14 @@ impl XwmHandler for State {
|
|||
fn move_request(&mut self, _xwm: XwmId, window: X11Surface, _button: u32) {
|
||||
if let Some(wl_surface) = window.wl_surface() {
|
||||
let seat = self.common.last_active_seat().clone();
|
||||
Shell::move_request(self, &wl_surface, &seat, None, ReleaseMode::NoMouseButtons)
|
||||
Shell::move_request(
|
||||
self,
|
||||
&wl_surface,
|
||||
&seat,
|
||||
None,
|
||||
ReleaseMode::NoMouseButtons,
|
||||
false,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue