#756463 xmonad: screen is not redrawn when last window is closed

Package:
xmonad
Source:
xmonad
Description:
Lightweight X11 window manager written in Haskell
Submitter:
Kai Harries
Date:
2014-07-30 07:00:09 UTC
Severity:
normal
#756463#5
Date:
2014-07-30 04:21:36 UTC
From:
To:
Dear Maintainer,


   * What led up to the situation?

Start xmonad from gdm. Open a terminal. Close the terminal.

   * What was the outcome of this action?

The terminal window was still visible as an artifact.

   * What outcome did you expect instead?

The terminal window disappears and the desktop will become visible.


The desktop is also not redrawn when I switch to an empty workspace. It looks
like a lack of a composition manager is causing this problem. Because when I
modify "/usr/share/xsessions/xmonad.desktop" so that xmonad gets started by a
script like this:

  xcompmgr &
  xmonad

everything behaves like expected.

Kind regards,

Kai

#756463#10
Date:
2014-07-30 06:57:53 UTC
From:
To:
Dear Kai,

Am Mittwoch, den 30.07.2014, 06:21 +0200 schrieb Kai Harries:

thanks for your report.


I don’t think this is technically a problem with xmonad; xmonad is just
not responsible for drawing the background.

That is one solution. But there are many more, such as running a proper
desktop program in the background (e.g. natuilus) or simply running
something like
$ xsetroot -solid black
as part of your session.

I have local modifications to the xmonad package to support
a .xmonad/xmonad-session-rc session script where these things can easily
go. I guess I should upload these soon.


Greetings,
Joachim