Skip to content

Commit 9e1ee63

Browse files
authored
Merge pull request #1618 from sakurawald/patch-1
fix: sdl2 should not disable the kwin compositor, which will cause the window effects invalid, including the window opacity.
2 parents afbbc04 + 407dd3c commit 9e1ee63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frontends/sdl2/main.lisp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,9 @@
209209
(if (lem:config :darwin-use-native-fullscreen) 1 0))
210210
;; sdl2 should not install any signal handlers, since the lisp runtime already does so
211211
(sdl2:set-hint :no-signal-handlers 1)
212+
;; sdl2 should not disable the kwin compositor, since lem editor is not a game, and disable it will not bring noticeale performance improvement.
213+
(sdl2:set-hint :video-x11-net-wm-bypass-compositor 0)
214+
212215
(tmt:with-body-in-main-thread ()
213216
(sdl2:make-this-thread-main (lambda ()
214217
(handler-bind

0 commit comments

Comments
 (0)