hrev53588 adds 1 changeset to branch 'master'
old head: 2659cdba83dc62cbff17e5dc4f9691ccff8df8da
new head: e9fa1debf521f6cb4ea8ad3d6faa377d35390b29
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=e9fa1debf521+%5E2659cdba83dc
----------------------------------------------------------------------------
e9fa1debf521: Deskbar: Don't allow calendar window to be manipulated
By setting B_NOT_MOVABLE and B_NOT_RESIZABLE flags the calendar window
can't be moved or resized by holding ctrl + alt + left/right mouse button.
Change-Id: If7f280ab6595b32a6c9521051540ffba0c76d211
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1965
Reviewed-by: Adrien Destugues <pulkomandy@xxxxxxxxx>
[ John Scipione <jscipione@xxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev53588
Commit: e9fa1debf521f6cb4ea8ad3d6faa377d35390b29
URL: https://git.haiku-os.org/haiku/commit/?id=e9fa1debf521
Author: John Scipione <jscipione@xxxxxxxxx>
Date: Mon Nov 18 07:59:08 2019 UTC
Committer: waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Fri Nov 22 23:24:55 2019 UTC
----------------------------------------------------------------------------
1 file changed, 2 insertions(+), 1 deletion(-)
src/apps/deskbar/CalendarMenuWindow.cpp | 3 ++-
----------------------------------------------------------------------------
diff --git a/src/apps/deskbar/CalendarMenuWindow.cpp
b/src/apps/deskbar/CalendarMenuWindow.cpp
index 14a314c803..52112a9c9c 100644
--- a/src/apps/deskbar/CalendarMenuWindow.cpp
+++ b/src/apps/deskbar/CalendarMenuWindow.cpp
@@ -79,7 +79,8 @@ CalendarMenuWindow::CalendarMenuWindow(BPoint where)
:
BWindow(BRect(0.0, 0.0, 100.0, 130.0), "", B_BORDERED_WINDOW,
B_AUTO_UPDATE_SIZE_LIMITS | B_ASYNCHRONOUS_CONTROLS |
B_CLOSE_ON_ESCAPE
- | B_NOT_MINIMIZABLE | B_NOT_ZOOMABLE),
+ | B_NOT_MINIMIZABLE | B_NOT_MOVABLE | B_NOT_RESIZABLE
+ | B_NOT_ZOOMABLE),
fYearLabel(NULL),
fMonthLabel(NULL),
fCalendarView(NULL),