Skip to content

Commit

Permalink
Remove some dead code (#6648)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cobinja authored Nov 28, 2024
1 parent 9133e7a commit bb34928
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions windowlist@cobinja.de/files/windowlist@cobinja.de/6.4/applet.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,28 +182,6 @@ function getOverheadSize(actor) {
return [width, height];
}

function getMonitors() {
let result = [];

try {
let gdkScreen = Gdk.Screen.get_default();
// let screen = CinnamonDesktop.RRScreen.new(gdkScreen);
// let currentConfig = CinnamonDesktop.RRConfig.new_current(screen);
// let outputInfos = currentConfig.get_outputs();

// for (let index = 0; index < outputInfos.length; index++) {
// let output = outputInfos[index];
// if (output.is_active()) {
// result.push(output.get_display_name());
// }
// }
} catch (err) {
return [];
}

return result;
}

const dummy = {};

class CobiWindowListSettings extends Settings.AppletSettings {
Expand Down

0 comments on commit bb34928

Please sign in to comment.