GNOME Bugzilla – Bug 322075
Unmaximizing a window can cause the titlebar to be placed under the top panel
Last modified: 2005-11-22 15:49:46 UTC
Sebastien reported this one in irc and gave me a verbose debugging log. Really simple cause, and it also turn out to effect unfullscreening a window as well (basically, I treated both as the user was manually moving/resizing a window so naturally the keep-fully-onscreen constraints stupidly didn't apply...) Patch will be attached in a minute...
Created attachment 55054 [details] [review] unmaximizing and unfullscreening shouldn't count as manual user movement/resizing Sebastien: could you try out this patch? Thanks.
works fine for me, thanks
2005-11-22 Elijah Newren <newren@gmail.com> Don't allow removing a window from maximized or fullscreened state to place the titlebar under the top panel. Fixes #322075. * src/display.c (handle_net_moveresize_window): fix up previous comments now that I know a little more, modify the code just slightly to clarify that this is NOT a manual user move/resize operation * src/window.c (meta_window_unmaximize, meta_window_unmake_fullscreen, meta_window_shove_titlebar_onscreen): don't claim that these are manual user move/resize operations