projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1df17af
)
xserver: Set input region for xwm surfaces
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 17 May 2012 19:45:31 +0000
(15:45 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 17 May 2012 19:45:31 +0000
(15:45 -0400)
src/xserver-launcher.c
patch
|
blob
|
history
diff --git
a/src/xserver-launcher.c
b/src/xserver-launcher.c
index
7380d9c
..
de90a46
100644
(file)
--- a/
src/xserver-launcher.c
+++ b/
src/xserver-launcher.c
@@
-877,6
+877,12
@@
weston_wm_window_draw_decoration(void *data)
window->surface->opaque_rect[3] =
(double) (t->margin + t->titlebar_height +
window->height + 1) / height;
+
+ pixman_region32_init_rect(&window->surface->input,
+ t->margin, t->margin,
+ t->width * 2 + window->width,
+ t->titlebar_height +
+ t->width + window->height);
}
}