summaryrefslogtreecommitdiff
path: root/src/include/window.h
AgeCommit message (Collapse)AuthorFilesLines
2021-06-04window: Do not render shadows on left/right tiled windowsMartin Wimpress1-0/+2
This pull request prevents shadows being rendered for left and right side titled windows. This behaviour is consistent with maximised windows, which also do not render shadows. The rationale for this change is so that when two windows are titled along side each other, it prevents central shadows bleeding into the touching points of the windows. metacity-theme-x.xml has provision to style left/right titled windows. This patch makes it possible to to create window themes that present clean side-by-side tiled windows.
2021-03-01window: turn into a GObjectrbuj1-0/+8
2019-06-05Only shadow ARGB windows with a frame outside the frameVictor Kareh1-0/+2
An ARGB window with a frame is likely something like a transparent terminal. It looks awful (and breaks transparency) to draw a big opaque black shadow under the window, so clip out the region under the terminal from the shadow we draw. Add meta_window_get_frame_bounds() to get a cairo region for the outer bounds of the frame of a window, and modify the frame handling code to notice changes to the frame shape and discard a cached region. meta_frames_apply_shapes() is refactored so we can extract meta_frames_get_frame_bounds() from it. https://bugzilla.gnome.org/show_bug.cgi?id=635268 NOTE: Applied only partially, compositor part is still missing... upstream commit: https://gitlab.gnome.org/GNOME/metacity/commit/0f2e32d1
2018-08-28Add meta_window_get_transient_for() methodDavyd Madeley1-0/+1
NOTE: Patch copied from mutter and adapted for metacity.
2014-10-24don't show shadow for maximized windowsinfirit1-0/+1
based on metacity commit: 72d1c6a6b9a85391444bb5ff8c5de1e3aabd3fd9 From: Alberts Muktupāvels <[email protected]>
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2011-12-01moving from https://github.com/perberos/mate-desktop-environmentPerberos1-0/+39