projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce1baa8
)
xwm: Make override-redirect windows opaque
author
Kristian Høgsberg
<krh@bitplanet.net>
Sun, 22 Jul 2012 19:32:45 +0000
(15:32 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Sun, 22 Jul 2012 19:32:45 +0000
(15:32 -0400)
src/xwayland/window-manager.c
patch
|
blob
|
history
diff --git
a/src/xwayland/window-manager.c
b/src/xwayland/window-manager.c
index
64290ec
..
e67cac1
100644
(file)
--- a/
src/xwayland/window-manager.c
+++ b/
src/xwayland/window-manager.c
@@
-742,7
+742,17
@@
weston_wm_window_schedule_repaint(struct weston_wm_window *window)
{
struct weston_wm *wm = window->wm;
- if (window->frame_id == XCB_WINDOW_NONE || window->repaint_source)
+ if (window->frame_id == XCB_WINDOW_NONE) {
+ if (window->surface != NULL) {
+ window->surface->opaque_rect[0] = 0.0;
+ window->surface->opaque_rect[1] = 1.0;
+ window->surface->opaque_rect[2] = 0.0;
+ window->surface->opaque_rect[3] = 1.0;
+ }
+ return;
+ }
+
+ if (window->repaint_source)
return;
window->repaint_source =