Commit 225d2f0c8fd203cc4466095618d295da855f4df4
sloppy focues should work with multiple monitors more or less as expected
Author: wmdiem
Author date (UTC): 2010-08-02 07:15
Committer name: wmdiem
Committer date (UTC): 2010-08-02 07:15
Parent(s): 3d90b1398cd6e368dcbf455c6170f9b80e393f45
Signing key:
Tree: a928adeb9c05ebc403d6aba8c92717b6a7292fb3
File Makefile changed (mode: 100644) (index 398c38f..94d29f2) |
... |
... |
PREFIX = usr |
2 |
2 |
SHAREDIR = ${PREFIX}/share |
SHAREDIR = ${PREFIX}/share |
3 |
3 |
MANDIR = ${SHAREDIR}/man |
MANDIR = ${SHAREDIR}/man |
4 |
4 |
BINDIR = ${PREFIX}/bin |
BINDIR = ${PREFIX}/bin |
5 |
|
SVNREV = 159 |
|
|
5 |
|
SVNREV = 160 |
6 |
6 |
VER = 0.2.a1 |
VER = 0.2.a1 |
7 |
7 |
DIST = euclid-wm-${VER} |
DIST = euclid-wm-${VER} |
8 |
8 |
|
|
File euclid-wm.c changed (mode: 100644) (index b2516ce..4d356cb) |
... |
... |
int event_loop() { |
1810 |
1810 |
if (cs->v->mfocus->win->id != ev.xcrossing.window) { |
if (cs->v->mfocus->win->id != ev.xcrossing.window) { |
1811 |
1811 |
struct cont *f = id_to_cont(ev.xmotion.window); |
struct cont *f = id_to_cont(ev.xmotion.window); |
1812 |
1812 |
if (f != NULL) { |
if (f != NULL) { |
|
1813 |
|
struct screen *s = firstscreen; |
|
1814 |
|
while (s->v != f->track->view) { |
|
1815 |
|
s = s->next; |
|
1816 |
|
}; |
|
1817 |
|
cs = s; |
1813 |
1818 |
cs->v->mfocus = f; |
cs->v->mfocus = f; |
1814 |
1819 |
redraw = true; |
redraw = true; |
1815 |
1820 |
}; |
}; |