Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

game launchers make xmonad overloaded #450

Open
5 tasks done
jabuxas opened this issue Apr 12, 2023 · 0 comments
Open
5 tasks done

game launchers make xmonad overloaded #450

jabuxas opened this issue Apr 12, 2023 · 0 comments

Comments

@jabuxas
Copy link

jabuxas commented Apr 12, 2023

Problem Description

When I open some games with wine that have launchers, for example Overwatch 2 (battle net), League of Legends installer, guild wars 2 launcher, xmonad becomes unresponsive, window borders start flickering, cpu goes to 100% usage and the wm stops functioning until I close the game. It shouldn't do that.

Steps to Reproduce

Run with wine any of the aforementioned installers/launchers, making sure you have Hacks.windowedFullscreenFixEventHook and/or fullscreenSupport.

Configuration File

Please include the smallest full configuration file that reproduces
the problem you are experiencing:

module Main (main) where

import XMonad
import qualified XMonad.Util.Hacks as Hacks

main :: IO ()
main =
  xmonad $ fullscreenSupport
    def
      { handleEventHook = handleEventHook def <> Hacks.windowedFullscreenFixEventHook
      }

Checklist

  • I've read CONTRIBUTING.md

  • I tested my configuration

    • With xmonad version 0.17.1 (arch repos version)
    • With xmonad commit 5ecdf75
    • With xmonad commit eeac754
    • With xmonad-contrib commit 673de11ca876a4a58cae3a4d52e36260f66aa6cc

edit1: I've edited because of a mistake on my part, I had tried in a vm with default config and it had crashed, so I thought it crashed because of that... either way, now I tried on my real hardware and narrowed the issue down even more. for some reason, when it launches, xmobar starts using a lot of cpu, but that should be another issue.

edit2: Attached video demonstrating it: https://youtu.be/Qz2Mbpab0p8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant