|
@@ -91,6 +91,7 @@ Window Mouse::findWindow( Window foo ) {
|
91
|
91
|
if ( children[i] == ignoreWindow ) {
|
92
|
92
|
continue;
|
93
|
93
|
}
|
|
94
|
+ // We need to make sure the window isn't something that currently isn't mapped.
|
94
|
95
|
XWindowAttributes attr;
|
95
|
96
|
XGetWindowAttributes( x11->display, children[i], &attr );
|
96
|
97
|
if ( attr.map_state != IsViewable ) {
|