GithubHelp home page GithubHelp logo

Comments (6)

Consolatis avatar Consolatis commented on June 16, 2024 1

Sorry, what does "events" mean here?

from IRC history:

<Domo> hmm, scroll-wheel events seem to go to shaded view (just now)
<Domo> and not just those. cannot drag scrollbar in urxvt window when shaded view (which would unshade over the scrollbar) is on top of it
<Consolatis> you mean the titlebar itself or the area where the unshaded window would be?
<Domo> the area where the unshaded window would be

Edit:
We likely just need to check for view->shaded in xwayland_view_move_to_front() and early return + manually use XCB_STACK_MODE_BELOW when shading. Maybe via some new set_shaded function pointer in the view impl?

from labwc.

Consolatis avatar Consolatis commented on June 16, 2024

Background: sounds like the xwayland stacking order is out of sync. We likely need to lower the shaded view and prevent it from being raised when clicked on until it unshades.

from labwc.

tokyo4j avatar tokyo4j commented on June 16, 2024

the shaded area gets the events even when focus is moved to the window lower in stacking order.

Sorry, what does "events" mean here?

from labwc.

johanmalm avatar johanmalm commented on June 16, 2024

Consider xcb_change_property() as Openbox uses XChangeProperty() on shade/unshade.

client_shade()
https://github.com/danakj/openbox/blob/9e8813e111cbe6c1088f6abbc771a29470f05fc2/openbox/client.c#L3535

client_change_wm_state()
https://github.com/danakj/openbox/blob/9e8813e111cbe6c1088f6abbc771a29470f05fc2/openbox/client.c#L2502

OBT_PROP_SETA32
https://github.com/danakj/openbox/blob/9e8813e111cbe6c1088f6abbc771a29470f05fc2/obt/prop.h#L301-L303

obt_prop_set_array32()
https://github.com/danakj/openbox/blob/9e8813e111cbe6c1088f6abbc771a29470f05fc2/obt/prop.c#L529

from labwc.

Consolatis avatar Consolatis commented on June 16, 2024

Agree that this is likely the better solution but we can't really use it without creating a temporary xcb connection.
We basically need support for that in wlroots / xwm.c.

For now:

Would appreciate testing.

from labwc.

Consolatis avatar Consolatis commented on June 16, 2024

Should be fixed on latest master.

from labwc.

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.