<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -273,7 +273,10 @@ def confine_to_workarea(hub, wm, **kw):
         confine_window_to_workarea(hub, wm, c, **kw)
 
 def confine_window_to_workarea(hub, wm, client, **kw):
-    x, y, width, height = props.get_prop(wm.dpy, wm.root, '_NET_WORKAREA')
+    try:
+        x, y, width, height = props.get_prop(wm.dpy, wm.root, '_NET_WORKAREA')
+    except ValueError:
+        return
     c = client
     def fix_axis(begin, size, wm_size, work_begin, work_size):
         near_movable    = 0 &lt;= c.geom[begin]</diff>
      <filename>whimsy/actions/ewmh.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3c97a1f03ca59f1ff785cac578dc22f5f720f8ea</id>
    </parent>
  </parents>
  <author>
    <name>Nick Welch</name>
    <email>mack@incise.org</email>
  </author>
  <url>http://github.com/mackstann/whimsy/commit/9079b0e248731161d341555d2e43effeabd90e0b</url>
  <id>9079b0e248731161d341555d2e43effeabd90e0b</id>
  <committed-date>2008-12-17T00:43:52-08:00</committed-date>
  <authored-date>2008-12-17T00:43:52-08:00</authored-date>
  <message>fix crash when x session is fresh</message>
  <tree>2835a62ac287070e40597a2185a08d632a0307cb</tree>
  <committer>
    <name>Nick Welch</name>
    <email>mack@incise.org</email>
  </committer>
</commit>
