MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / XMoveResizeWindow

Function XMoveResizeWindow

server/faker-x11.cpp:863–891  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861
862
863int XMoveResizeWindow(Display *dpy, Window win, int x, int y,
864 unsigned int width, unsigned int height)
865{
866 int retval = 0;
867 TRY();
868
869 if(IS_EXCLUDED(dpy))
870 return _XMoveResizeWindow(dpy, win, x, y, width, height);
871
872 /////////////////////////////////////////////////////////////////////////////
873 OPENTRACE(XMoveResizeWindow); PRARGD(dpy); PRARGX(win); PRARGI(x);
874 PRARGI(y); PRARGI(width); PRARGI(height); STARTTRACE();
875 /////////////////////////////////////////////////////////////////////////////
876
877 faker::VirtualWin *vw;
878 if((vw = WINHASH.find(dpy, win)) != NULL)
879 vw->resize(width, height);
880 faker::EGLXVirtualWin *eglxvw;
881 if((eglxvw = EGLXWINHASH.find(dpy, win)) != NULL)
882 eglxvw->resize(width, height);
883 retval = _XMoveResizeWindow(dpy, win, x, y, width, height);
884
885 /////////////////////////////////////////////////////////////////////////////
886 STOPTRACE(); CLOSETRACE();
887 /////////////////////////////////////////////////////////////////////////////
888
889 CATCH();
890 return retval;
891}
892
893
894int XNextEvent(Display *dpy, XEvent *xe)

Callers 3

multiThreadTestFunction · 0.85
multiThreadTestFunction · 0.85
resizeMethod · 0.85

Calls 2

findMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected