equal
deleted
inserted
replaced
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); |