aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r--src/FbTk/FbWindow.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc
index 09c75d1..6a623d9 100644
--- a/src/FbTk/FbWindow.cc
+++ b/src/FbTk/FbWindow.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWindow.cc,v 1.24 2003/08/15 13:52:06 fluxgen Exp $ 22// $Id: FbWindow.cc,v 1.25 2003/08/26 23:45:36 fluxgen Exp $
23 23
24#include "FbWindow.hh" 24#include "FbWindow.hh"
25 25
@@ -359,6 +359,15 @@ int FbWindow::screenNumber() const {
359 return m_screen_num; 359 return m_screen_num;
360} 360}
361 361
362long FbWindow::eventMask() const {
363 XWindowAttributes attrib;
364 if (XGetWindowAttributes(s_display, window(),
365 &attrib) == Success) {
366 return attrib.your_event_mask;
367 }
368 return 0;
369}
370
362void FbWindow::updateGeometry() { 371void FbWindow::updateGeometry() {
363 if (m_window == 0) 372 if (m_window == 0)
364 return; 373 return;