Skip to content
Snippets Groups Projects
Commit 83ab510f authored by Fabian Homborg's avatar Fabian Homborg
Browse files

Add hardcoded hack for steam update/start dialog

This one doesn't even have a window class....
parent e0b460f7
No related branches found
No related tags found
No related merge requests found
...@@ -336,9 +336,12 @@ TileList._isIgnored = function(client) { ...@@ -336,9 +336,12 @@ TileList._isIgnored = function(client) {
return true; return true;
} }
// HACK: Steam doesn't set the windowtype properly // HACK: Steam doesn't set the windowtype properly
// Everything that isn't captioned "Steam" should be a dialog - these resize worse thant the main window does // Everything that isn't captioned "Steam" should be a dialog - these resize worse than the main window does
// With the exception of course of the class-less update/start dialog with the caption "Steam" (*Sigh*)
if (client.resourceClass.toString() == "steam" && client.caption != "Steam") { if (client.resourceClass.toString() == "steam" && client.caption != "Steam") {
return true; return true;
} else if (client.resourceClass.toString() != "steam" && client.caption == "Steam") {
return true;
} }
if (client.specialWindow == true) { if (client.specialWindow == true) {
return true; return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment