You are not logged in.
Pages: 1
Hello, I am currently using Xubuntu and I'm pretty new in general to Linux. I'm loving the simplicity/speed of the XFCE desktop environment and ability to customize it to fit my needs. I almost have it working exactly like I want except for one little annoyance.
I noticed that if a window is maximized, you can still drag it. When I'm using Firefox for example and I'm jumping between tabs, sometimes I'll accidentally click the title bar and drag a few pixels which causes the entire window to go back to it's non maximized size. This is a bit of an annoyance.
Is there a setting that disallows dragging of maximized windows? I've tried googling an answer, but the only answers I get are about the way snapping works when dragging a window to the edge of the screen.
Thanks for the help!
Offline
Hello and welcome.
There is no way to prevent the dragging of a maximized window. That is a function of the titlebar of the window. However, you can hide the titlebar (and borders) when a window is mazimized, eliminating the accidental drag. To do so, have a look at the options at Settings Manager > Window Manager Tweaks > Accessibility tab.
Note: if you maximize a window with no titlebars present, you can Alt-F10 to un-maximize the window again to get the titlebars back.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I noticed and tried that setting, however for Firefox it has no effect since I have the native XFCE title bar disabled in it via it's Customize menu option. So the "tabs bar" is still draggable while maximized.
Offline
You would have to make an application with Xlib to check if the window in focus is fullsceen and then change MOTIF_WM_HINTS.
https://stackoverflow.com/questions/144 … 7#38175137
https://linux.die.net/man/3/vendorshell
-----------
Edit: Maybe slightly off topic, to toggle window decorations I use this app:
https://gist.github.com/muktupavels/d03 … 4c87df975d
Works with xfce, just need to compile and pass Xwindow ID on launch.
toggle-decorations $XID
Like in one of my experiments with Yad and fake window bar.
I use it here to show and hide the real window bar on undecorated yad dialog.
https://www.youtube.com/watch?v=K_htGC3H2Dc
@ToZ It will toggle window decorations even on xfce4-panel(s).
I've actually tried that.
Last edited by Misko_2083 (2019-12-03 12:29:37)
Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c
Offline
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 534.83 KiB (Peak: 535.67 KiB) ]