added thread names
This commit is contained in:
parent
fbc1478a17
commit
74d9ecbb9c
|
@ -30,7 +30,7 @@
|
|||
)
|
||||
(mdisplay "creating titlebar " window "\n")
|
||||
(spawn*
|
||||
(list "titlebar " window)
|
||||
(list 'titlebar window)
|
||||
(lambda (release)
|
||||
(call-with-event-channel
|
||||
dpy window (event-mask exposure structure-notify)
|
||||
|
@ -76,9 +76,7 @@
|
|||
(unmap-window (titlebar:dpy tb) (titlebar:window tb)))
|
||||
|
||||
(define (move-resize-titlebar tb rect)
|
||||
(move-resize-window (titlebar:dpy tb) (titlebar:window tb)
|
||||
(rectangle:x rect) (rectangle:y rect)
|
||||
(rectangle:width rect) (rectangle:height rect)))
|
||||
(move-resize-window* (titlebar:dpy tb) (titlebar:window tb) rect))
|
||||
|
||||
(define (set-titlebar-title! tb title)
|
||||
(send (titlebar:channel tb) (cons 'title title)))
|
||||
|
|
Loading…
Reference in New Issue