Code Monkey home page Code Monkey logo

Comments (4)

JLErvin avatar JLErvin commented on August 17, 2024

Just added these to the development branch blackberry. Although I'm a bit confused by your description of this protocols. According to the ewmh documentation, _NET_WM_DESKTOP should report the current desktop of the given client and _NET_FRAME_EXTENTS should report the region occupied by the current client. Is this what you meant, or am I misunderstanding the requirements of this protocols?

from berry.

paoloschi avatar paoloschi commented on August 17, 2024

My ability to express myself clearly in English is limited and I apologize for that (I often have to use an automatic translator :-[).

In order to be sure that I was making a correct request, I consulted the same document just yesterday. Regarding the two specific properties he recommends, among other things, that "The Window Manager should honor _NET_WM_DESKTOP..." and also "The Window Manager MUST set _NET_FRAME_EXTENTS..." so I thought it was appropriate to make the request.

About _NET_WM_DESKTOP which "determine the desktop the window is in" I confirm: it is exactly the data I need.

As the document says, _NET_FRAME_EXTENTS "are widths of the respective borders added by the Window Manager"; I'm interested in getting the status of the window about whether or not it's currently decorated otherwise my script can't know if it's the case or not to run a berryc toggle_decorations (...). Since there is no specific EWMH property about the current status of the decoration, _NET_FRAME_EXTENTS can become a way to deduce it.
Alternatively, for the complete supply of the status of a window, a proprietary solution as in Windowchef (a request that we've already discussed here) would be optimal.

The same command executed under Openbox:

$ xprop -id 0x1600007 _NET_WM_DESKTOP _NET_FRAME_EXTENTS
_NET_WM_DESKTOP(CARDINAL) = 3
_NET_FRAME_EXTENTS(CARDINAL) = 6, 6, 24, 6

Thank you very much for your prompt response and attention to these requests of mine!
I promise not to make any more immediate requests: I will enthusiastically follow the project according to your development plans :-)

from berry.

JLErvin avatar JLErvin commented on August 17, 2024

Added to master as of e519be4

from berry.

paoloschi avatar paoloschi commented on August 17, 2024

compiled, tested, enjoyed! ;-D
so this issue just needs to be closed now
thanks again

from berry.

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.