Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kwin-tiling
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christian Bay
kwin-tiling
Commits
83ab510f
Commit
83ab510f
authored
11 years ago
by
Fabian Homborg
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contents/code/tilelist.js
+4
-1
4 additions, 1 deletion
contents/code/tilelist.js
with
4 additions
and
1 deletion
contents/code/tilelist.js
+
4
−
1
View file @
83ab510f
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment