diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-03 08:32:18 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-03 08:32:18 +0000 |
| commit | ef48bd3dffbc273a0be170a96a4511658a05a050 (patch) | |
| tree | 25f31212c0925ea960499f636b238a2a2e87b8b5 /src | |
| parent | 2472004b8ca1bbf0cc99f3fd1601191862c3d15b (diff) | |
only watch for events on our window.
rm a XXX
Diffstat (limited to 'src')
| -rw-r--r-- | src/screen.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen.cc b/src/screen.cc index cdc8d93c..f8989a05 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -786,7 +786,8 @@ void Screen::propertyHandler(const XPropertyEvent &e) // compress changes to a single property into a single change XEvent ce; - while (XCheckTypedEvent(**otk::display, e.type, &ce)) { + while (XCheckTypedWindowEvent(**otk::display, _info->rootWindow(), + e.type, &ce)) { // XXX: it would be nice to compress ALL changes to a property, not just // changes in a row without other props between. if (ce.xproperty.atom != e.atom) { @@ -811,7 +812,6 @@ void Screen::clientMessageHandler(const XClientMessageEvent &e) } else if (e.message_type == otk::Property::atoms.net_number_of_desktops) { changeNumDesktops(e.data.l[0]); } - // XXX: so many client messages to handle here! ..or not.. they go to clients } |
