Skip to content

Commit

Permalink
fix: sdl2 disables the kwin compositor, causing the window effects in…
Browse files Browse the repository at this point in the history
…valid, like the window opacity.
  • Loading branch information
sakurawald authored Nov 20, 2024
1 parent afbbc04 commit 84d12f6
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 this will not bring noticeable 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 84d12f6

Please sign in to comment.