aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-01-15 14:43:19 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-01-15 14:43:19 +0000
commit0dea8f3339599dc7ca831a3cbc9c3f1ac7535003 (patch)
treeacb64a30abd2655a4f4095151d5b9447e619fee5
parente: follow edbus change about unref'ing messages after send (diff)
downloadenlightenment-0dea8f3339599dc7ca831a3cbc9c3f1ac7535003.tar.gz
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
-rw-r--r--ChangeLog5
-rw-r--r--NEWS1
-rw-r--r--src/bin/e_border.c3
3 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 075316882..5bfcf9ec1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/NEWS b/NEWS
index a3124c4a9..d40540a10 100644
--- a/NEWS
+++ b/NEWS
@@ -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.
diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index a4f483fcd..7d95fe249 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -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