This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project wmaker-crm.git.
The branch, next has been updated via db55f0faad553de66e46219b96a4264c241b075b (commit) from 4f99aa9d6b470667d2b8791c065d946b279c8120 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://repo.or.cz/w/wmaker-crm.git/commit/db55f0faad553de66e46219b96a4264c241b075b commit db55f0faad553de66e46219b96a4264c241b075b Author: Yuri Karaban <wma...@dev97.com> Date: Thu Apr 17 22:19:56 2014 +0300 screen_has_space: fix NULL pointer access When window is the first opened window scr->focused_window is NULL. Therefore don't access focused->prev without checking. diff --git a/src/placement.c b/src/placement.c index bc9e6bbd..0ac0cab7 100644 --- a/src/placement.c +++ b/src/placement.c @@ -332,7 +332,7 @@ screen_has_space(WScreen *scr, int x, int y, int w, int h, Bool ignore_sunken) } } - for (i = focused->prev; i; i = i->prev) { + for (i = focused; i; i = i->prev) { if (window_overlaps(i, x, y, w, h, ignore_sunken)) { return False; } ----------------------------------------------------------------------- Summary of changes: src/placement.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) repo.or.cz automatic notification. Contact project admin crma...@gmail.com if you want to unsubscribe, or site admin ad...@repo.or.cz if you receive no reply. -- wmaker-crm.git ("The Window Maker window manager") -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.