Sfoglia il codice sorgente

nearing completion

naelstrof 7 anni fa
parent
commit
70c1f22349
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      src/mouse.cpp

+ 1
- 0
src/mouse.cpp Vedi File

@@ -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 ) {