Lines Matching refs:msw

199 		MapSubwindow *msw = wsw->mswl[ws2->number]; // Active WS's subwin
204 XSetWindowBackground(dpy, msw->w, Scr->workSpaceMgr.curColors.back);
208 XSetWindowBackgroundPixmap(dpy, msw->w, Scr->workSpaceMgr.curImage->pixmap);
210 XSetWindowBorder(dpy, msw->w, Scr->workSpaceMgr.curBorderColor);
211 XClearWindow(dpy, msw->w);
402 MapSubwindow *msw;
410 vs->wsw->mswl[ws->number] = msw = calloc(1, sizeof(MapSubwindow));
420 msw->w = XCreateSimpleWindow(dpy, vs->wsw->w,
429 XMapWindow(dpy, msw->w);
436 XSetWindowBackground(dpy, msw->w, ws->backcp.back);
439 XSetWindowBackgroundPixmap(dpy, msw->w, ws->image->pixmap);
444 XSetWindowBackground(dpy, msw->w, Scr->workSpaceMgr.defColors.back);
447 XSetWindowBackgroundPixmap(dpy, msw->w, Scr->workSpaceMgr.defImage->pixmap);
624 MapSubwindow *msw = vs->wsw->mswl[ws->number];
634 msw->x = i * wwidth;
635 msw->y = j * wheight;
636 XMoveResizeWindow(dpy, msw->w, msw->x, msw->y, wwidth - 2, wheight - 2);
642 for(WinList *wl = msw->wl; wl != NULL; wl = wl->next) {
1265 MapSubwindow *msw;
1274 msw = vs->wsw->mswl [cws->number];
1275 if((newX >= msw->x)
1276 && (newX < msw->x + mw->wwidth)
1277 && (newY >= msw->y)
1278 && (newY < msw->y + mw->wheight)) {
1297 msw = vs->wsw->mswl[cws->number];
1303 XTranslateCoordinates(dpy, mw->w, msw->w,
1329 newX = msw->x + XW + Scr->BorderLeft * mw->wwidth / vs->w;
1335 newX = msw->x + mw->wwidth *
1341 newY = msw->y + YW + Scr->BorderTop * mw->height / vs->h;
1347 newY = msw->y + mw->wheight
1572 MapSubwindow *msw = vs->wsw->mswl[newws->number];
1573 if((newX >= msw->x) && (newX < msw->x + mw->wwidth) &&
1574 (newY >= msw->y) && (newY < msw->y + mw->wheight)) {
1804 MapSubwindow *msw = wsw->mswl[ws->number];
1806 for(WinList *wl = msw->wl; wl != NULL; wl = wl->next) {
1905 const MapSubwindow *msw = vs->wsw->mswl[ws->number];
1928 for(wl = msw->wl; wl != NULL; wl = wl->next) {
2148 MapSubwindow *msw = vs->wsw->mswl[ws->number];
2175 wl->w = XCreateSimpleWindow(dpy, msw->w, wl->x, wl->y,
2202 wl->next = msw->wl;
2203 msw->wl = wl;