Displaying 2 results from an estimated 2 matches for "moveinputfocustowindow".
2007 Apr 19
0
[PATCH] Make focusDefaultWindow () take a CompScreen as argument
.....e804bbb 100644
--- a/src/display.c
+++ b/src/display.c
@@ -2527,7 +2527,7 @@ addDisplay (char *name)
if (focus == None || focus == PointerRoot)
{
- focusDefaultWindow (d);
+ focusDefaultWindow (d->screens);
}
else
{
@@ -2539,7 +2539,7 @@ addDisplay (char *name)
moveInputFocusToWindow (w);
}
else
- focusDefaultWindow (d);
+ focusDefaultWindow (d->screens);
}
d->pingHandle =
@@ -2565,45 +2565,41 @@ getCurrentTimeFromDisplay (CompDisplay *d)
}
void
-focusDefaultWindow (CompDisplay *d)
+focusDefaultWindow (CompScreen *s)
{
- CompScreen *s;...
2006 Dec 10
1
[BUG] Compiz hangs at launch when the focus windows is a swing window
...9 in XProcessInternalConnection () from /usr/lib/libX11.so.6
#6 0xb7c21f4f in _XRead () from /usr/lib/libX11.so.6
#7 0xb7c232f1 in _XReadEvents () from /usr/lib/libX11.so.6
#8 0xb7c1c05d in XWindowEvent () from /usr/lib/libX11.so.6
#9 0x08051185 in getCurrentTimeFromDisplay ()
#10 0x0805fd7e in moveInputFocusToWindow ()
#11 0x080569a5 in addDisplay ()
#12 0x0804f770 in main ()
I also ran a strace on compiz to see what was happening and it is in an
infinite loop on a poll syscall.
This is repeting over and over :
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, -1) = 1
read(4, "s\0\203\16\3\0\300\0\202\0\...