small improvement to window dragging: when allowing drag of maximized windows, changing the screen of a window will automatically attempt to resize the window so as to better fit the screen

exploring this change led to the discovery of a default theme bug: maximizing a window blocks events to resize hotspots on the bottom part of the window regardless of config settings


SVN revision: 82813
This commit is contained in:
Mike Blumenkrantz 2013-01-15 14:43:19 +00:00
parent a37c6ca20f
commit 0dea8f3339
3 changed files with 9 additions and 0 deletions

View File

@ -1,4 +1,9 @@
2013-01-15 Mike Blumenkrantz
* prevent windows dragged from one screen to another from being larger than the destination screen
2013-01-14 Brian Miculcy
* Backlight, screenlock and screensaver don't check for fullscreen windows - we have presentation mode for that.
2013-01-14 Mike Blumenkrantz

1
NEWS
View File

@ -67,6 +67,7 @@ Improvements:
* added focus-out color class and functionality to default theme
* added fallback timer for system actions
* compositor now applies focus/urgency state to windows on first show
* prevent windows dragged from one screen to another from being larger than the destination screen
Fixes:
* Backlight, screenlock and screensaver don't check for fullscreen windows - we have presentation mode for that.

View File

@ -937,6 +937,9 @@ e_border_zone_set(E_Border *bd,
ecore_x_window_prop_card32_set(bd->client.win, E_ATOM_ZONE_GEOMETRY, zgeom, 4);
}
e_remember_update(bd);
e_border_res_change_geometry_save(bd);
e_border_res_change_geometry_restore(bd);
bd->pre_res_change.valid = 0;
}
EAPI void