diff options
author | fluxgen <fluxgen> | 2003-08-26 23:45:36 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-26 23:45:36 (GMT) |
commit | 9d3b8d55ff550e4bf62275b6193ae6feb7d60056 (patch) | |
tree | 3ba5fe75c7719730ac00118effb85ff14ac800db /src/FbTk/FbWindow.cc | |
parent | 1fc69d17ad7d9953eb81ba428c8f6ae8f8508045 (diff) | |
download | fluxbox_pavel-9d3b8d55ff550e4bf62275b6193ae6feb7d60056.zip fluxbox_pavel-9d3b8d55ff550e4bf62275b6193ae6feb7d60056.tar.bz2 |
added eventMask
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r-- | src/FbTk/FbWindow.cc | 11 |
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 | ||
362 | long 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 | |||
362 | void FbWindow::updateGeometry() { | 371 | void FbWindow::updateGeometry() { |
363 | if (m_window == 0) | 372 | if (m_window == 0) |
364 | return; | 373 | return; |