[PATCH xwayland 2/3] xwayland: Refactor surface creation into a separate function

2019-01-15 Thread Carlos Garnacho
This is just called from xwl_window_realize() ATM, but will be useful in future commits. Signed-off-by: Carlos Garnacho --- hw/xwayland/xwayland.c | 65 ++ 1 file changed, 40 insertions(+), 25 deletions(-) diff --git a/hw/xwayland/xwayland.c

[PATCH xwayland 1/3] xwayland: Separate DamagePtr into separate window data

2019-01-15 Thread Carlos Garnacho
This will be dissociated in future commits to handle the cases where windows are being realized before there is a compositor handling redirection. In that case, we still want the DamagePtr to be registered upfront on RealizeWindowProc before a corresponding xwl_window might be created. Most

[PATCH xwayland 3/3] xwayland: Handle the case of windows being realized before redirection

2019-01-15 Thread Carlos Garnacho
If Xwayland gets to realize a window meant for composition before the compositor redirected windows (i.e. redirect mode is not RedirectDrawManual yet), the window would stay "invisible" as we wouldn't create a wl_surface/wl_shell_surface for it at any later point. This scenario may happen if the

Bug in xrandr gammas

2019-01-15 Thread crawlman
Hi! So, I have a rare neurological condition, and it is very important to me that I can have control over color outputs from my monitor screen. After searching for months, I have come to xrandr as the only available solution for linux to change the behaviour of rgb channels. The problem is, it