mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
Focus tweaks
This commit is contained in:
parent
c1b6da0b5d
commit
6c90da78f9
2 changed files with 7 additions and 3 deletions
|
|
@ -391,7 +391,8 @@ The on-window-change clog-obj received is the new window"))
|
||||||
(setf (current-win app) obj)
|
(setf (current-win app) obj)
|
||||||
(when (on-window-change app)
|
(when (on-window-change app)
|
||||||
(funcall (on-window-change app) obj))
|
(funcall (on-window-change app) obj))
|
||||||
(fire-on-window-focused obj))
|
(when obj
|
||||||
|
(fire-on-window-focused obj)))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; Implementation - Individual Windows
|
;; Implementation - Individual Windows
|
||||||
|
|
|
||||||
|
|
@ -36,8 +36,11 @@
|
||||||
(path-fill cx)))
|
(path-fill cx)))
|
||||||
|
|
||||||
(defun on-file-movies (body)
|
(defun on-file-movies (body)
|
||||||
(let ((win (create-gui-window body :title "Movie")))
|
(let* ((win (create-gui-window body :title "Movie"))
|
||||||
(create-video (window-content win) :source "https://www.w3schools.com/html/mov_bbb.mp4")))
|
(movie (create-video (window-content win)
|
||||||
|
:source "https://www.w3schools.com/html/mov_bbb.mp4")))
|
||||||
|
(setf (box-width movie) "100%")
|
||||||
|
(setf (box-height movie) "100%")))
|
||||||
|
|
||||||
(defun on-file-pinned (body)
|
(defun on-file-pinned (body)
|
||||||
(let ((win (create-gui-window body :title "Pinned"
|
(let ((win (create-gui-window body :title "Pinned"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue