Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a default cursor.
[spectrwm.git]
/
scrotwm.c
diff --git
a/scrotwm.c
b/scrotwm.c
index
2d9283c
..
a455bd5
100644
(file)
--- a/
scrotwm.c
+++ b/
scrotwm.c
@@
-1531,7
+1531,6
@@
void
priorws(struct swm_region *r, union arg *args)
{
union arg a;
priorws(struct swm_region *r, union arg *args)
{
union arg a;
- struct swm_screen *s = r->s;
DNPRINTF(SWM_D_WS, "priorws id %d "
"in screen[%d]:%dx%d+%d+%d ws %d\n", args->id,
DNPRINTF(SWM_D_WS, "priorws id %d "
"in screen[%d]:%dx%d+%d+%d ws %d\n", args->id,
@@
-4549,6
+4548,10
@@
setup_screens(void)
setscreencolor("black", i + 1, SWM_S_COLOR_BAR);
setscreencolor("rgb:a0/a0/a0", i + 1, SWM_S_COLOR_BAR_FONT);
setscreencolor("black", i + 1, SWM_S_COLOR_BAR);
setscreencolor("rgb:a0/a0/a0", i + 1, SWM_S_COLOR_BAR_FONT);
+ /* set default cursor */
+ XDefineCursor(display, screens[i].root,
+ XCreateFontCursor(display, XC_left_ptr));
+
/* init all workspaces */
/* XXX these should be dynamically allocated too */
for (j = 0; j < SWM_WS_MAX; j++) {
/* init all workspaces */
/* XXX these should be dynamically allocated too */
for (j = 0; j < SWM_WS_MAX; j++) {