fixed the cursor problem
This commit is contained in:
parent
6d99e01988
commit
af7138816e
|
@ -198,6 +198,7 @@
|
|||
(let* ((dpy (wm:dpy wm))
|
||||
(main-window (wm:window wm))
|
||||
(options (wm:options wm))
|
||||
(soptions (wm:special-options wm))
|
||||
(window (create-simple-window dpy main-window 0 0 1 1 0
|
||||
(white-pixel dpy) (black-pixel dpy)))
|
||||
(root (window-root dpy window))
|
||||
|
@ -208,11 +209,10 @@
|
|||
(subwindow-mode (subwindow-mode
|
||||
include-inferiors)))))
|
||||
(cursor (create-font-cursor
|
||||
dpy (if (eq? (get-option-value options 'orientation)
|
||||
dpy (if (eq? (get-option-value soptions 'orientation)
|
||||
'horizontal)
|
||||
xc-sb-h-double-arrow
|
||||
xc-sb-v-double-arrow))))
|
||||
;; TODO: v-cursor doesn't work anymore?!
|
||||
(set-window-cursor! dpy window cursor)
|
||||
(spawn*
|
||||
(list 'split-resizer wm)
|
||||
|
|
Loading…
Reference in New Issue