Exemple #1
0
Bool
rdpPositionWindow(WindowPtr pWindow, int x, int y)
{
    ScreenPtr pScreen;
    rdpWindowRec *priv;
    Bool rv;

    LLOGLN(10, ("rdpPositionWindow:"));
    priv = GETWINPRIV(pWindow);
    pScreen = pWindow->drawable.pScreen;
    pScreen->PositionWindow = g_rdpScreen.PositionWindow;
    rv = pScreen->PositionWindow(pWindow, x, y);
    pScreen->PositionWindow = rdpPositionWindow;

    if (g_use_rail)
    {
        if (priv->status == 1)
        {
            LLOGLN(10, ("rdpPositionWindow:"));
            LLOGLN(10, ("  x %d y %d", x, y));
        }
    }

    return rv;
}
Exemple #2
0
Bool
rdpPositionWindow(WindowPtr pWindow, int x, int y)
{
  ScreenPtr pScreen;
  rdpWindowRec* priv;
  Bool rv;

  ErrorF("rdpPositionWindow:\n");
  priv = GETWINPRIV(pWindow);
  pScreen = pWindow->drawable.pScreen;
  pScreen->PositionWindow = g_rdpScreen.PositionWindow;
  rv = pScreen->PositionWindow(pWindow, x, y);
  pScreen->PositionWindow = rdpPositionWindow;
  return rv;
}