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

Function XResizeWindow

server/faker-x11.cpp:907–935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

905
906
907int XResizeWindow(Display *dpy, Window win, unsigned int width,
908 unsigned int height)
909{
910 int retval = 0;
911 TRY();
912
913 if(IS_EXCLUDED(dpy))
914 return _XResizeWindow(dpy, win, width, height);
915
916 /////////////////////////////////////////////////////////////////////////////
917 OPENTRACE(XResizeWindow); PRARGD(dpy); PRARGX(win); PRARGI(width);
918 PRARGI(height); STARTTRACE();
919 /////////////////////////////////////////////////////////////////////////////
920
921 faker::VirtualWin *vw;
922 if((vw = WINHASH.find(dpy, win)) != NULL)
923 vw->resize(width, height);
924 faker::EGLXVirtualWin *eglxvw;
925 if((eglxvw = EGLXWINHASH.find(dpy, win)) != NULL)
926 eglxvw->resize(width, height);
927 retval = _XResizeWindow(dpy, win, width, height);
928
929 /////////////////////////////////////////////////////////////////////////////
930 STOPTRACE(); CLOSETRACE();
931 /////////////////////////////////////////////////////////////////////////////
932
933 CATCH();
934 return retval;
935}
936
937
938int XWindowEvent(Display *dpy, Window win, long event_mask, 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