Skip to content

Commit

Permalink
Merge pull request #209 from MIvanchev/test-fixes
Browse files Browse the repository at this point in the history
Fixing failing tests.
  • Loading branch information
dkochmanski authored Aug 16, 2024
2 parents a444b12 + ffe2318 commit 69f2ebb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gcontext.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
(def-gc-accessor foreground card32)
(def-gc-accessor background card32)
(def-gc-accessor line-width card16)
(def-gc-accessor line-style (member :solid :dash :double-dash))
(def-gc-accessor line-style (member :solid :on-off-dash :double-dash))
(def-gc-accessor cap-style (member :not-last :butt :round :projecting))
(def-gc-accessor join-style (member :miter :round :bevel))
(def-gc-accessor fill-style (member :solid :tiled :stippled :opaque-stippled))
Expand Down
2 changes: 1 addition & 1 deletion manual/clx.texinfo
Original file line number Diff line number Diff line change
Expand Up @@ -5804,7 +5804,7 @@ ends of the individual dashes, except @var{:not-last} is treated as

@table @var
@item line-style
One of @var{:dash}, @var{:double-dash}, or @var{:solid}.
One of @var{:on-off-dash}, @var{:double-dash}, or @var{:solid}.
@end table

@end defun
Expand Down
2 changes: 0 additions & 2 deletions tests/core-protocol.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,6 @@
(finishes (setf (xlib:window-priority child-window) priority)))
(finishes (setf (xlib:window-save-under child-window) :on))

(is (= (xlib:drawable-width child-window) 100))
(sleep 2)
(is (= (xlib:drawable-width child-window) 120))
(is (= (xlib:drawable-height child-window) 120))
(is (= (xlib:drawable-x child-window) 60))
Expand Down

0 comments on commit 69f2ebb

Please sign in to comment.