dwm.c
changeset 1095 a977bbe06b06
parent 1094 0083ffeb95ee
child 1096 a813daebec92
equal deleted inserted replaced
1094:0083ffeb95ee 1095:a977bbe06b06
  1566 	wa.cursor = cursor[CurNormal] = XCreateFontCursor(dpy, XC_left_ptr);
  1566 	wa.cursor = cursor[CurNormal] = XCreateFontCursor(dpy, XC_left_ptr);
  1567 	cursor[CurResize] = XCreateFontCursor(dpy, XC_sizing);
  1567 	cursor[CurResize] = XCreateFontCursor(dpy, XC_sizing);
  1568 	cursor[CurMove] = XCreateFontCursor(dpy, XC_fleur);
  1568 	cursor[CurMove] = XCreateFontCursor(dpy, XC_fleur);
  1569 
  1569 
  1570 	// init screens/monitors first
  1570 	// init screens/monitors first
  1571 	mcount = 1;
       
  1572 	if((isxinerama = XineramaIsActive(dpy)))
  1571 	if((isxinerama = XineramaIsActive(dpy)))
  1573 		info = XineramaQueryScreens(dpy, &mcount);
  1572 		info = XineramaQueryScreens(dpy, &mcount);
  1574 	selmonitor = monitors = emallocz(mcount * sizeof(Monitor));
  1573 	selmonitor = monitors = emallocz(mcount * sizeof(Monitor));
  1575 
  1574 
  1576 	screen = DefaultScreen(dpy);
  1575 	screen = DefaultScreen(dpy);