• Jasper St. Pierre's avatar
    window: Atomically unmaximize both directions from a _NET_WM_STATE ClientMessage · 7a4adce4
    Jasper St. Pierre authored
    When GDK sends an unmaximize _NET_WM_STATE ClientMessage, it tells us to remove
    the _NET_WM_STATE_MAXIMIZED_HORZ and _NET_WM_STATE_MAXIMIZED_VERT states. Before
    this time, it would independently call:
    
      meta_window_unmaximize (window, META_MAXIMIZE_HORIZONTAL);
      meta_window_unmaximize (window, META_MAXIMIZE_VERTICAL);
    
    Which, besides being foolishly inefficient, would also mess up our saved_rect
    tracking, causing the window to only look like it was unmaximized vertically.
    
    Make this code more intelligent, so it causes us to unmaximize in one call.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=722108
    7a4adce4
Name
Last commit
Last update
doc Loading commit data...
po Loading commit data...
protocol Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.cvsignore Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COMPLIANCE Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Doxyfile Loading commit data...
HACKING Loading commit data...
MAINTAINERS Loading commit data...
METACITY_MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mutter.doap Loading commit data...
rationales.txt Loading commit data...
stamp.h.in Loading commit data...