Browse Source

Ignore changes to the root pixmap

We no longer use the root pixmap at all, so we can ignore changes to it.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Uli Schlachter 9 years ago
parent
commit
e7cd824c07
2 changed files with 0 additions and 17 deletions
  1. 0
    1
      awesome.c
  2. 0
    16
      property.c

+ 0
- 1
awesome.c View File

@@ -541,7 +541,6 @@ main(int argc, char **argv)
541 541
             XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT | XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY
542 542
                 | XCB_EVENT_MASK_ENTER_WINDOW | XCB_EVENT_MASK_LEAVE_WINDOW
543 543
                 | XCB_EVENT_MASK_STRUCTURE_NOTIFY
544
-                | XCB_EVENT_MASK_PROPERTY_CHANGE
545 544
                 | XCB_EVENT_MASK_BUTTON_PRESS
546 545
                 | XCB_EVENT_MASK_BUTTON_RELEASE
547 546
                 | XCB_EVENT_MASK_FOCUS_CHANGE

+ 0
- 16
property.c View File

@@ -328,19 +328,6 @@ property_handle_xembed_info(uint8_t state,
328 328
     return 0;
329 329
 }
330 330
 
331
-static int
332
-property_handle_xrootpmap_id(uint8_t state,
333
-                             xcb_window_t window)
334
-{
335
-#warning
336
-#if 0
337
-    foreach(w, globalconf.drawins)
338
-       (*w)->need_update = true;
339
-#endif
340
-
341
-    return 0;
342
-}
343
-
344 331
 static int
345 332
 property_handle_net_wm_opacity(uint8_t state,
346 333
                                xcb_window_t window)
@@ -412,9 +399,6 @@ property_handle_propertynotify(xcb_property_notify_event_t *ev)
412 399
     HANDLE(_NET_WM_PID, property_handle_net_wm_pid)
413 400
     HANDLE(_NET_WM_WINDOW_OPACITY, property_handle_net_wm_opacity)
414 401
 
415
-    /* background change */
416
-    HANDLE(_XROOTPMAP_ID, property_handle_xrootpmap_id)
417
-
418 402
     /* If nothing was found, return */
419 403
     END;
420 404
 

Loading…
Cancel
Save