-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossible to submerge windows #480
Comments
Probably your window manager trying to keep you from burying a window where you'll have a hard time pulling it back. Of course, with xdotool automation, you've got a way, but most users don't. Are you sure you're not meaning to either unmap the window? What about (if you're building from source and have windowstate), marking the window as hidden? If your window manager supports motif wm hints, you could flag the window as being borderless before burying it, then unflag it before unburying it. |
Ops, I'm using Linux Mint and my WM should be muffin/metacity.
This kind of window tiling works only at the bottom, because with the toolbar visible you only need to click the fullscreen button to restore the window.
Something like this?
|
| Something like this? I'll be darned, I thought that was going to work. My bad. I did some digging and realized what's going on: xprop is setting the right field to the right values, but it's setting the wrong type (array of cardinal). The result is this: It should be this: It looks like xprop doesn't have a way of letting you specify the correct type, so that avenue is a bust...unless your window manager allows it to be of cardinal type. |
Haha, don't worry. Window manipulation shouldn't be that difficult, so your feedback is more than welcome. Usually bash scripting isn't too hard for me, but this specific issue seems to be surprisingly out of the norm. On the contrary, I'm sorry if I've put any xprop code without much testing: I didn't have enough time to grasp it myself and my motivation to experiment with obscure commands is pretty low right now. |
Possible trick that might help with #480
You might have better luck using EWMH hints instead of Motif hints. That said, you might be able to set the window's I couldn't find a tool that let you change this attribute, so I made a quick patch to xdotool that allows this: Building this, then try something like Assuming building xdotool is something you are comfortable with, I'd love to know if this helps. |
Nice, this comes unexpected, so all I can say is ... Awesome! I take notice and will do some tests these days and let you know how it worked out for me. |
I'm trying to move a window at the very bottom of my screen, to keep only the toolbars visible and submerge the rest of the window.
xdotool moves windows till the window footer touches the bottom of the screen and not an inch over this limit.
Here's a simple test:
Code: Select all
The text was updated successfully, but these errors were encountered: