only watch for events on our window.
rm a XXX
This commit is contained in:
parent
2472004b8c
commit
ef48bd3dff
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue