diff options
author | Tiago Vignatti <tiago.vignatti@intel.com> | 2012-08-13 19:04:49 +0300 |
---|---|---|
committer | Tiago Vignatti <tiago.vignatti@intel.com> | 2012-09-13 17:03:20 +0300 |
commit | 55f5d6d4916e7cde008065f8c38fe159c223561b (patch) | |
tree | e56d41db313b39c42aade172ac2ade47c154ec2b | |
parent | 294adc4af9e567681a3af0f53423fd2031ebf47d (diff) |
xwm: Disable opaque_rect settings
Warning: this removes functionality!
In preparation for split XWM as a client, XWM client can't modify or access
weston_surface directly like that. This will be re-implemented later on the
using set_opaque_region instead.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
-rw-r--r-- | src/xwayland/window-manager.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index 164631e..1058437 100644 --- a/src/xwayland/window-manager.c +++ b/src/xwayland/window-manager.c @@ -716,7 +716,7 @@ weston_wm_window_draw_decoration(void *data) } cairo_destroy(cr); - +#if 0 if (window->surface) { pixman_region32_fini(&window->surface->opaque); pixman_region32_init_rect(&window->surface->opaque, 0, 0, @@ -737,6 +737,7 @@ weston_wm_window_draw_decoration(void *data) width - 2 * t->margin, height - 2 * t->margin); } +#endif } static void @@ -746,6 +747,7 @@ weston_wm_window_schedule_repaint(struct weston_wm_window *window) int width, height; if (window->frame_id == XCB_WINDOW_NONE) { +#if 0 if (window->surface != NULL) { weston_wm_window_get_frame_size(window, &width, &height); pixman_region32_fini(&window->surface->opaque); @@ -753,6 +755,7 @@ weston_wm_window_schedule_repaint(struct weston_wm_window *window) width, height); window->surface->geometry.dirty = 1; } +#endif return; } |