Re: [PATCH xserver] randr: rrCheckPixmapBounding should only increase screen size

2018-08-14 Thread Keith Packard
Alex Goins writes: > Instead, this change simply > makes it so that rrCheckPixmapBounding() will only resize the fb to be larger > than it already is, preventing it from stepping on prior requests to increase > the size of the fb. Seems like a fine plan to me. Reviewed-by: Keith Packard --

[PATCH xserver] randr: rrCheckPixmapBounding should only increase screen size

2018-08-14 Thread Alex Goins
The purpose of rrCheckPixmapBounding() is to make sure that the fb is large enough to accommodate the region scanned out by a GPU screen. Currently, however, it will actually shrink the fb if it's larger than it needs to be. This is a problem when combining PRIME output slaving with arbitrary

Re: [PATCH xcb] don't flag extra reply in xcb_take_socket

2018-08-14 Thread Michal Srb
On čtvrtek 9. srpna 2018 0:20:01 CEST Erik Kurzinger wrote: > In practice, this has been causing intermittent KWin crashes when > used in combination with the proprietary NVIDIA driver such as > https://bugs.kde.org/show_bug.cgi?id=386370 since when Xlib fails to > retrieve one of these

Re: [PATCH xcb] don't flag extra reply in xcb_take_socket

2018-08-14 Thread Julien Cristau
+xcb@ On 08/09/2018 12:20 AM, Erik Kurzinger wrote: > If any flags are specified in a call to xcb_take_socket, > they should only be applied to replies for requests sent > after that function returns (and until the socket is > re-acquired by XCB). > > Previously, they would also be incorrectly