all repos — fluxbox @ 1ed6519a203a863a060d1a8b6cfee71fddcd3563

custom fork of the fluxbox windowmanager

minor fix
fluxgen fluxgen
commit

1ed6519a203a863a060d1a8b6cfee71fddcd3563

parent

99a12262fddf51e81e2aa580745ff04dff56ce99

1 files changed, 6 insertions(+), 6 deletions(-)

jump to
M src/fluxbox.ccsrc/fluxbox.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.184 2003/08/12 21:00:54 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.185 2003/08/15 13:57:18 fluxgen Exp $ #include "fluxbox.hh"

@@ -1104,12 +1104,12 @@ }

} else { WinClient *winclient = searchWindow(ce.window); BScreen *screen = searchScreen(ce.window); - - if (winclient || screen) { - for (size_t i=0; i<m_atomhandler.size(); ++i) { - m_atomhandler[i]->checkClientMessage(ce, screen, winclient); - } + // note: we dont need screen nor winclient to be non-null, + // it's up to the atomhandler to check that + for (size_t i=0; i<m_atomhandler.size(); ++i) { + m_atomhandler[i]->checkClientMessage(ce, screen, winclient); } + } }