Giter Club home page Giter Club logo

Comments (3)

actionless avatar actionless commented on June 8, 2024

but the workspace are not specific thing in awesome wm - in other window managers (think openbox) the workspaces are implemented the same

so i don't think it's a good idea to use awesome's api to query that info, but rather query it from x itself

from awesome.

felixfung avatar felixfung commented on June 8, 2024

@actionless if that is the case, then we should have

_NET_NUMBER_OF_DESKTOPS == XineramaQueryScreens()

rather than

_NET_NUMBER_OF_DESKTOPS == XineramaQueryScreens() * (virtual desktops per screen)

E.g. when there are 9 tags, and 1 screen, _NET_NUMBER_OF_DESKTOPS == 9; but when there are 2 screens, then _NET_NUMBER_OF_DESKTOPS == 18.

From https://specifications.freedesktop.org/wm-spec/1.3/ar01s03.html,

 This property should be set and updated by the Window Manager to indicate the *number of virtual desktops*.

from awesome.

actionless avatar actionless commented on June 8, 2024

but that's a property of a root window, so it will be a number of desktops for the screen on which that window at - that's nothing to do with awesome wm so it would be better to seek help on xserver community

from awesome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.