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
1da7f7f7
Commit
1da7f7f7
authored
11 years ago
by
Fabian Homborg
Browse files
Options
Downloads
Patches
Plain Diff
Cut down on geometrychanged on start
parent
1c6b56ad
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contents/code/tilingmanager.js
+6
-5
6 additions, 5 deletions
contents/code/tilingmanager.js
with
6 additions
and
5 deletions
contents/code/tilingmanager.js
+
6
−
5
View file @
1da7f7f7
...
...
@@ -111,17 +111,18 @@ function TilingManager() {
layout
.
activate
();
});
// We need to reset custom client properties first because this might not be
// the first execution of the script
var
existingClients
=
workspace
.
clientList
();
existingClients
.
forEach
(
function
(
client
)
{
self
.
tiles
.
_onClientRemoved
(
client
);
client
.
tiling_shown
=
true
;
client
.
tiling_shown
=
false
;
self
.
tiles
.
addClient
(
client
);
client
.
tiling_shown
=
true
;
// Don't reset floating so we don't lose the value over restarts
//client.tiling_floating = null;
});
this
.
layouts
[
this
.
_currentDesktop
].
forEach
(
function
(
layout
)
{
layout
.
_updateAllTiles
();
});
// Register global callbacks
workspace
.
numberDesktopsChanged
.
connect
(
function
()
{
self
.
_onNumberDesktopsChanged
();
...
...
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