Skip to content

Commit

Permalink
register all windows for wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
TRPB committed Jan 5, 2020
1 parent bd9a9ed commit 1fd493b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions contents/code/tilelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,8 @@ function TileList(timer) {
// - "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 1fd493b

Please sign in to comment.