added thread names
This commit is contained in:
+2
-4
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user