Giter Site home page Giter Site logo

Comments (11)

elkowar avatar elkowar commented on August 15, 2024

@Rougemoot can you try setting focusable="true" on your window definition?
as in:

<window name="main_window" focusable="true">
  ...
</window>

That would tell the WM to treat eww more like a normal window, specifically also making it focusable. This may make it possible for you to go with your option 2, making it sticky in the WM config. Note that that is likely to also make eww focusable by the WM, which is something you'd then also need to tell the WM to ignore in some other way

from eww.

elkowar avatar elkowar commented on August 15, 2024

focusable, sorry xD Just noticed my mistake

from eww.

elkowar avatar elkowar commented on August 15, 2024

Added the focusable attribute to the docs, among a couple others in 0e97847

from eww.

Vermoot avatar Vermoot commented on August 15, 2024

Unfortunately this doesn't solve the problem. The window still isn't detected by my WM (yabai) so I can't make it sticky.
Two things have changed from adding the selectable property: a border appeared around the window, and all text becomes grey unless I click on the window, as if to indicate that the window isn't currently focused.

from eww.

elkowar avatar elkowar commented on August 15, 2024

i guess the border and focus stuff was to be expected, lol. It's kinda weird that it isn't detected by the WM tho,... do you have any way of seeing what makes the WM ignore it?

from eww.

Vermoot avatar Vermoot commented on August 15, 2024

Nope, I can just ask the WM what it sees, and it just doesn't see it as a proper window

from eww.

elkowar avatar elkowar commented on August 15, 2024

not as a proper window (if so, what exactly does that mean? what does it see it as?) or just not at all?

from eww.

Vermoot avatar Vermoot commented on August 15, 2024

Oh yeah sorry it just doesn't see it at all.

from eww.

Vermoot avatar Vermoot commented on August 15, 2024

This might be what we need?
https://wiki.gnome.org/Projects/GTK/OSX

from eww.

Axarva avatar Axarva commented on August 15, 2024

@Rougemoot Do you mean the window...

  1. ...starts in a place, is visible there, and then if you launch a window it gets covered up?
  2. ...always just keeps getting started behind windows?

Because if it's 1., that's what the default behavior is on my window manager as well.

from eww.

elkowar avatar elkowar commented on August 15, 2024
  1. may be a result of xmonad not respecting the window stacking hints, that may or may not be fixed in the gtk4-version, or may require some xmonad shit that i'll need to investigate.

Vermoots issue here is workspaces, eww on macos is currently not "sticky", and cannot be made such as it isn't seen by yabai at all. That, too, may be fixed by gtk4.

from eww.

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.