-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
borderWidth = 0
breaks workspaces with full-screen applications.
#470
Comments
I don't have this problem with VMware, and suspect it's a bug with Steam and non-reparenting window managers; they may incorrectly assume that a nonzero border width means there's no window frame. (Steam and a number of other cross-platform UI toolkits need to translate coordinates for their canvases between X11/Wayland-style and Windows-style, which means they need to account for window frames.) |
@geekosaur that's interesting. Would you be able to explain to me what 'reparenting' means in this context? Furthermore, could you suggest any other Xorg window managers I could test to see if the issue is truly with Steam? Last night (after posting the initial report) I found out that applying |
Reparenting is taking a new window and making it a child of a frame window. Most other window management systems, notably including Windows, make the frame and titllebar part of the client GUI toolkit; X11 gives it to the window manager. Why this is relevant is that X11 also does window-relative addressing, while most others (again notably including Windows) use screen-relative. So when writing a cross-platform toolkit you need to translate between the two, which on X11 means you also need to account for the frame window, especially in the case of canvas widgets. Java, Mono, and Steam have all had problems with not identifying frame windows or their absence properly, leading to clients looping due to IMO poor coding practices. |
Problem Description
Setting
borderWidth = 0
in one'sXConfig
causes workspaces with full-screen applications in them to freeze (or load incredibly slowly).When I launch a Steam game (I tested with Dark Souls III and Baldur's Gate 3) with the configuration provided below, the application launches but fails to load.
Some observations I made:
Alt+[2..0]
, after some delay, I will switch to the workspace successfully. When in this workspace, everything will function as normal. If I switch back to the 'game workspace', it'll return quickly but the same issue will persist.xmonad . ewmhFullScreen . ewmh
i.e. the issue does not lie in thecontrib
repo.Steps to Reproduce
Configuration File
Please include the smallest full configuration file that reproduces
the problem you are experiencing:
Checklist
xmonad
version 0.17.2xmonad-contrib
version 0.17.1The text was updated successfully, but these errors were encountered: