Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Remove compositing workaround
Browse files Browse the repository at this point in the history
This seems to work now, and it breaks Wayland.

See #192.
  • Loading branch information
faho committed Aug 7, 2020
1 parent 57e0f83 commit 2f63ff3
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions contents/code/tilelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,22 +65,7 @@ function TileList(timer) {
// new tiles
var self = this;
workspace.clientAdded.connect(function(client) {
// TODO: When compositing is on,
// we need to delay first tiling until the window is shown
// otherwise we end up with artifacts.
// However, we can only determine what the option is set to on start
// neither of (options.):
// - "useCompositing"
// - "compositingMode"
// - "compositingInitialized"
// change when it is disabled/enabled.
if (options.useCompositing) {
client.windowShown.connect(function(client) {
self.addClient(client);
});
} else {
self.addClient(client);
}
self.addClient(client);
// NOTE: When a new client is added, activeChanged will be called before it even appears
// in workspace.clientList(), so we need to keep track of the focus change here as well.
self.trackFocusChanges(client);
Expand Down

0 comments on commit 2f63ff3

Please sign in to comment.