mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-25 06:59:50 -05:00
fix: miss scroller when open a tagrule window
This commit is contained in:
parent
bdc06b3d62
commit
d0510f5f12
1 changed files with 2 additions and 1 deletions
3
maomao.c
3
maomao.c
|
|
@ -4088,6 +4088,7 @@ mapnotify(struct wl_listener *listener, void *data) {
|
|||
c->isurgent = 0;
|
||||
c->need_output_flush = 0;
|
||||
c->scroller_proportion = scroller_default_proportion;
|
||||
c->is_open_animation = true;
|
||||
|
||||
if (new_is_master &&
|
||||
strcmp(selmon->pertag->ltidxs[selmon->pertag->curtag]->name,
|
||||
|
|
@ -6117,7 +6118,7 @@ void scroller(Monitor *m, unsigned int gappo, unsigned int gappi) {
|
|||
for (i = 0; i < n; i++) {
|
||||
c = tempClients[i];
|
||||
if (root_client == c) {
|
||||
if (c->geom.x >= m->w.x + scroller_structs &&
|
||||
if (!c->is_open_animation && c->geom.x >= m->w.x + scroller_structs &&
|
||||
c->geom.x + c->geom.width <= m->w.x + m->w.width - scroller_structs) {
|
||||
need_scroller = false;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue