Browse Source

nearing completion

naelstrof 7 years ago
parent
commit
70c1f22349
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/mouse.cpp

+ 1
- 0
src/mouse.cpp View File

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