Skip to content

Commit

Permalink
Merge pull request #1618 from sakurawald/patch-1
Browse files Browse the repository at this point in the history
fix: sdl2 should not disable the kwin compositor, which will cause the window effects invalid, including the window opacity.
  • Loading branch information
cxxxr authored Nov 20, 2024
2 parents afbbc04 + 407dd3c commit 9e1ee63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontends/sdl2/main.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,9 @@
(if (lem:config :darwin-use-native-fullscreen) 1 0))
;; sdl2 should not install any signal handlers, since the lisp runtime already does so
(sdl2:set-hint :no-signal-handlers 1)
;; sdl2 should not disable the kwin compositor, since lem editor is not a game, and disable it will not bring noticeale performance improvement.
(sdl2:set-hint :video-x11-net-wm-bypass-compositor 0)

(tmt:with-body-in-main-thread ()
(sdl2:make-this-thread-main (lambda ()
(handler-bind
Expand Down

0 comments on commit 9e1ee63

Please sign in to comment.