Coder Social home page Coder Social logo

Comments (4)

JLErvin avatar JLErvin commented on June 30, 2024

hm yes.

herbstluftwm implements a feature where users can decide which windows are handled by the window manager and which ones are not. berry currently has these fixed, which I suppose is not very flexible. I'll try working on a feature to make this behavior toggleable.

from berry.

BartolomeyKant avatar BartolomeyKant commented on June 30, 2024

Can you make dialog and menu windows handled by berry for now? Just for quick fix?
There is also problem with virtualbox settings window.

from berry.

BartolomeyKant avatar BartolomeyKant commented on June 30, 2024
$ git diff wm.c
diff --git a/wm.c b/wm.c
index 984e6a3..cff8b97 100644
--- a/wm.c
+++ b/wm.c
@@ -1193,10 +1193,10 @@ manage_new_window(Window w, XWindowAttributes *wa)
         if (prop_ret) {
             prop = ((Atom *)prop_ret)[0];
             if (prop == net_atom[NetWMWindowTypeDock] ||
-                prop == net_atom[NetWMWindowTypeToolbar] ||
+                // prop == net_atom[NetWMWindowTypeToolbar] ||
                 prop == net_atom[NetWMWindowTypeUtility] ||
-                prop == net_atom[NetWMWindowTypeDialog] ||
-                prop == net_atom[NetWMWindowTypeMenu]) {
+                // prop == net_atom[NetWMWindowTypeDialog] ||
+                // prop == net_atom[NetWMWindowTypeMenu]) {
                 D fprintf(stderr, WINDOW_MANAGER_NAME": Window is of type dock, toolbar, utility, menu, or splash: not managing\n");
                 D fprintf(stderr, WINDOW_MANAGER_NAME": Mapping new window, not managed\n");
                 XMapWindow(display, w);

This works for me as temporary solution

from berry.

JLErvin avatar JLErvin commented on June 30, 2024

I added a manage/unmanage feature as of 4acf247. Closing.

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.