| 154 | } |
| 155 | |
| 156 | KeyModifierMask XWindowsKeyState::pollActiveModifiers() const |
| 157 | { |
| 158 | Window root = DefaultRootWindow(m_display); |
| 159 | Window window; |
| 160 | int xRoot; |
| 161 | int yRoot; |
| 162 | int xWindow; |
| 163 | int yWindow; |
| 164 | unsigned int state = 0; |
| 165 | if (XQueryPointer(m_display, root, &root, &window, &xRoot, &yRoot, &xWindow, &yWindow, &state) == False) { |
| 166 | state = 0; |
| 167 | } |
| 168 | return mapModifiersFromX(state); |
| 169 | } |
| 170 | |
| 171 | int32_t XWindowsKeyState::pollActiveGroup() const |
| 172 | { |
nothing calls this directly
no outgoing calls
no test coverage detected