mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-30 21:53:25 +00:00
rootless: Fix SetShape regression
This fixes a regression in miext/rootless from 643cb6e87c
Found-by: tinderbox
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Pierre-Loup A. Griffais <pgriffais@nvidia.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
6b4af3b792
commit
1768e51976
2 changed files with 3 additions and 3 deletions
|
|
@ -288,12 +288,12 @@ static void RootlessReshapeFrame(WindowPtr pWin)
|
|||
* shaped when the window is framed.
|
||||
*/
|
||||
void
|
||||
RootlessSetShape(WindowPtr pWin)
|
||||
RootlessSetShape(WindowPtr pWin, int kind)
|
||||
{
|
||||
ScreenPtr pScreen = pWin->drawable.pScreen;
|
||||
|
||||
SCREEN_UNWRAP(pScreen, SetShape);
|
||||
pScreen->SetShape(pWin);
|
||||
pScreen->SetShape(pWin, kind);
|
||||
SCREEN_WRAP(pScreen, SetShape);
|
||||
|
||||
RootlessReshapeFrame(pWin);
|
||||
|
|
|
|||
Loading…
Reference in a new issue