The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Window does not disappear when closing app

asked Apr 22 '15

mickkelo gravatar image

updated Apr 23 '15

Adaephon gravatar image

Hi, When I close Chrome using $mod+Shift+q, the app remains at the screen but it doesn't disappear until I move to another desktop. Is that a normal behaviour? Thanks

Comments

No, it's not. Does this happen with any other application?

airblader gravatar imageairblader (Apr 23 '15)edit

It sounds as if the root window ("background") is not redrawn. Do you set a background color or image? And does the problem persist if you run `xsetroot -gray`?

Adaephon gravatar imageAdaephon (Apr 23 '15)edit

It happens with all the applications too. And I haven't change the background color or image, is the behaviour I encountered when i3 was installed, without tweaking it.

mickkelo gravatar imagemickkelo (Apr 23 '15)edit

could this be a graphics driver issue?

airblader gravatar imageairblader (Apr 23 '15)edit

My graphic card is an Intel card (typical for laptops), do I need a special thing to do?

mickkelo gravatar imagemickkelo (Apr 23 '15)edit

2 answers

Sort by » oldest newest most voted
1

answered Apr 23 '15

mickkelo gravatar image

ok, seems adding:

xsetroot -gray

to my .profile solves the problem.

1

answered Apr 24 '15

Adaephon gravatar image

As setting a background seems to solve the problem, you can just put

exec --no-startup-id xsetroot -gray

into your ~/.i3/config and it will be run when i3 starts up.

Of course you can use any other command that sets a background color, pattern or image instead of xsetroot -gray.


The issue here was, that there was no content set for the root window (what is sometimes called desktop). Therefore when the last window on a workspace gets closed, i3 has nothing to draw for the root window (which then becomes visible) and an image of the last window remains. And it is just an image, the application itself terminated successfully and the actual window was closed.

Question Tools

Stats

Asked: Apr 22 '15

Seen: 189 times

Last updated: Apr 24