Ticket #7855: Deskbar_Deskbar_calendar_window_always_on_top_1.diff

File Deskbar_Deskbar_calendar_window_always_on_top_1.diff, 482 bytes (added by jscipione, 8 years ago)

Set the feel of the Calendar window to be B_FLOATING_ALL_WINDOW_FEEL so that it will appear on top of the Deskbar window even if Always On Top is checked.

  • src/apps/deskbar/CalendarMenuWindow.cpp

    diff --git a/src/apps/deskbar/CalendarMenuWindow.cpp b/src/apps/deskbar/CalendarMenuWindow.cpp
    index 9b77e80..162afbf 100644
    a b CalendarMenuWindow::CalendarMenuWindow(BPoint where) 
    8888    fCalendarView(NULL),
    8989    fSuppressFirstClose(true)
    9090{
     91    SetFeel(B_FLOATING_ALL_WINDOW_FEEL);
     92
    9193    BPrivate::week_start startOfWeek
    9294        = (BPrivate::week_start)BLocale::Default()->StartOfWeek();
    9395