[MacPorts] #46717: xfwm4: improved stacking in rooted mode
#46717: xfwm4: improved stacking in rooted mode -------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch | Port: xfwm4 -------------------------+-------------------------------- Most window managers are not prepared, when running under XQuartz or similar in rooted mode, to restack X11 windows outside of the stacking location the X server is itself in. As a result, clicking on a background X11 window will make the X server active and raise the X window w.r.t. other X windows, but it will not raise the window from behind "native" (Cocoa/Aqua) windows. I'm attaching a patch that (re)enables this for "global" restacking operations (i.e. when xfwm4 does not try to restack a window w.r.t. some sibling window). Bonus screenshot: xfwm4 with the Mint-X theme, epiphany using the GTk3 theme from port:oxygen-gtk3 and the +infinality variants of port:freetype, port:fontconfig and port:cairo. -- Ticket URL: <https://trac.macports.org/ticket/46717> MacPorts <https://www.macports.org/> Ports system for OS X
#46717: xfwm4: improved stacking in rooted mode --------------------------+---------------------- Reporter: rjvbertin@… | Owner: afb@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: xfwm4 | --------------------------+---------------------- Changes (by mf2k@…): * owner: macports-tickets@… => afb@… * cc: afb@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/46717#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46717: xfwm4: improved stacking in rooted mode --------------------------+---------------------- Reporter: rjvbertin@… | Owner: afb@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: xfwm4 | --------------------------+---------------------- Comment (by afb@…): Intriguing. Did you get this upstream somehow ? -- Ticket URL: <https://trac.macports.org/ticket/46717#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46717: xfwm4: improved stacking in rooted mode --------------------------+---------------------- Reporter: rjvbertin@… | Owner: afb@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: xfwm4 | --------------------------+---------------------- Comment (by rjvbertin@…): Honestly, (only) 3 months later and already I can't remember... I think I reported some issues, but this one probably not because it's so specific to use on OS X. The patch fixes an issue that only exists when your X server isn't the unique renderer. And even on OS X I have no idea how many people actually use alternative window managers. -- Ticket URL: <https://trac.macports.org/ticket/46717#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46717: xfwm4: improved stacking in rooted mode --------------------------+---------------------- Reporter: rjvbertin@… | Owner: afb@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: xfwm4 | --------------------------+---------------------- Comment (by afb@…): xfwm4 has been updated to 4.12.0, perhaps needs a rebase -- Ticket URL: <https://trac.macports.org/ticket/46717#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46717: xfwm4: improved stacking in rooted mode --------------------------+---------------------- Reporter: rjvbertin@… | Owner: afb@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: xfwm4 | --------------------------+---------------------- Changes (by afb@…): * status: new => closed * resolution: => fixed Comment: Rebased and applied in r144502. Not sure it worked before either, needed a "Client" parameter ? -- Ticket URL: <https://trac.macports.org/ticket/46717#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46717: xfwm4: improved stacking in rooted mode --------------------------+---------------------- Reporter: rjvbertin@… | Owner: afb@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: xfwm4 | --------------------------+---------------------- Comment (by rjvbertin@…): Sorry, I've been too busy elsewhere to look at this ... Where did you add a Client parameter that I didn't add? What intrigues me, now that I forced myself to look at my own port files: the patch line in my Portfile was commented out as part of changes I made back in May. Without any explanation, and clearly I had forgot to update this ticket. How does this patch work for you? And BTW, how does xfwm4 open dialogs, alerts etc. for you? For me they tend to open behind the parent window, which is somewhat annoying... -- Ticket URL: <https://trac.macports.org/ticket/46717#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46717: xfwm4: improved stacking in rooted mode --------------------------+---------------------- Reporter: rjvbertin@… | Owner: afb@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: xfwm4 | --------------------------+---------------------- Comment (by afb@…): I added a ", c" as the second parameter, it seemed to work OK. To be honest I haven't tried this new version much. Maybe I should :-) -- Ticket URL: <https://trac.macports.org/ticket/46717#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#46717: xfwm4: improved stacking in rooted mode --------------------------+---------------------- Reporter: rjvbertin@… | Owner: afb@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: xfwm4 | --------------------------+---------------------- Comment (by afb@…): Your patch: {{{ clientApplyStackList (ScreenInfo *screen_info, Client *client, StackingAction action ) clientApplyStackList (screen_info, (wsibling)? Restack : Raise); clientApplyStackList (screen_info, (wsibling)? Restack : Lower); }}} -- Ticket URL: <https://trac.macports.org/ticket/46717#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts