File: forceX11.patch

package info (click to toggle)
killbots 4%3A25.04.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,016 kB
  • sloc: cpp: 2,731; xml: 157; makefile: 8; sh: 2
file content (23 lines) | stat: -rw-r--r-- 920 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Force X11
 the game displays wong if it's ran by wayland.
 .
 This patch just always forces it to run with X11, so that it can be
 played even in wayland sessions.
 .
 Not the best solution possibly, but it does the trick.
Author: Salvo 'LtWorf' Tomaselli <ltworf@debian.org>
Bug: https://bugs.kde.org/show_bug.cgi?id=497856
Forwarded: https://bugs.kde.org/show_bug.cgi?id=497856
Last-Update: 2025-03-06

--- killbots-24.12.2.orig/src/org.kde.killbots.desktop
+++ killbots-24.12.2/src/org.kde.killbots.desktop
@@ -133,7 +133,7 @@ Comment[uk]=Гра KDE із робота
 Comment[x-test]=xxA KDE game of killer robots and teleportation.xx
 Comment[zh_CN]=KDE 小游戏,边传送边杀掉机器人。
 Comment[zh_TW]=KDE 的小遊戲,殺掉機器人並傳送。
-Exec=killbots -qwindowtitle %c
+Exec=killbots -qwindowtitle %c -platform xcb
 Icon=killbots
 Type=Application
 X-DocPath=killbots/index.html