When you have an application like Chromium where you can drag tabs away from the current window to create a new window, the new window for the dragged tab always maximises.
It seems the new window copies all flags, but by doing that it changes the expected behaviour. If you drag the original window the window restores to the original size with a position under the current cursor and if you release the mouse button it stays on that current position. I would assume that dragging one of the tabs to a new window would have the same behaviour, however as said if you release the mouse button for a dragged tab the window maximises.
Sorry, my first sentence is not specific enough.
When you have an application like Chromium where you can drag tabs away from the current window to create a new window, the new window for the dragged tab always maximises when the original window is maximized.
I see the same behaviour in gnome-shell, sounds like a client bug.
It appears that clientToggleMaximized is called from netwm.c:394, but I dont understand yet where the NET_VM_STATE event is triggered and/or why the NET_WM_STATE_MAXIMIZED_* atoms are even set in the event payload.
I checked the trace log and followed the code in clientFrame but I dont see any of the NET_VM_STATE_MAXIMIZED_* atoms being set or copied.
-- GitLab Migration Automatic Message --
This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/246.
Please create an account or use an existing account on one of our supported OAuth providers.
If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests
Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev