mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-31 22:25:29 -04:00
fix: error index of layout
This commit is contained in:
parent
6a484e6129
commit
ea12f4bb4d
1 changed files with 1 additions and 1 deletions
|
|
@ -4883,7 +4883,7 @@ void motionnotify(uint32_t time, struct wlr_input_device *device, double dx,
|
|||
(c->geom.x + c->geom.width > c->mon->m.x + c->mon->m.width ||
|
||||
c->geom.x < c->mon->m.x))) {
|
||||
if (c && c->mon &&
|
||||
strcmp(c->mon->pertag->ltidxs[selmon->pertag->curtag]->name,
|
||||
strcmp(c->mon->pertag->ltidxs[c->mon->pertag->curtag]->name,
|
||||
"scroller") == 0 &&
|
||||
(c->geom.x + c->geom.width > c->mon->m.x + c->mon->m.width ||
|
||||
c->geom.x < c->mon->m.x)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue