]> Dogcows Code - chaz/openbox/commitdiff
only watch for events on our window.
authorDana Jansens <danakj@orodu.net>
Mon, 3 Feb 2003 08:32:18 +0000 (08:32 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 3 Feb 2003 08:32:18 +0000 (08:32 +0000)
rm a XXX

src/screen.cc

index cdc8d93c930e407862b2690c7d4926d1185713de..f8989a05a942949ad2ade4867a2bad798ca5b054 100644 (file)
@@ -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
 }
 
 
This page took 0.025492 seconds and 4 git commands to generate.