Skip to content

Commit

Permalink
Added comment about supporting float on top on Wayland.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed May 13, 2024
1 parent 5f3dbd6 commit 9f553cc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mrv2/lib/mrvUI/mrvMenus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "mrvFl/mrvCallbacks.h"
#include "mrvFl/mrvVersioning.h"

#include "mrvUI/mrvDesktop.h"
#include "mrvUI/mrvMenus.h"

#include "mrvWidgets/mrvMainWindow.h"
Expand Down Expand Up @@ -168,6 +169,7 @@ namespace mrv
else
item->clear();

//! @todo: how to support float on top on Wayland
idx = menu->add(
_("Window/Float On Top"), kToggleFloatOnTop.hotkey(),
(Fl_Callback*)toggle_float_on_top_cb, ui,
Expand All @@ -177,7 +179,7 @@ namespace mrv
item->set();
else
item->clear();

idx = menu->add(
_("Window/Secondary"), kToggleSecondary.hotkey(),
(Fl_Callback*)toggle_secondary_cb, ui, FL_MENU_TOGGLE);
Expand All @@ -187,6 +189,7 @@ namespace mrv
else
item->clear();

//! @todo: how to support float on top on Wayland
idx = menu->add(
_("Window/Secondary Float On Top"),
kToggleSecondaryFloatOnTop.hotkey(),
Expand All @@ -197,7 +200,7 @@ namespace mrv
item->set();
else
item->clear();

mode = FL_MENU_TOGGLE;
if (numFiles == 0)
mode |= FL_MENU_INACTIVE;
Expand Down

0 comments on commit 9f553cc

Please sign in to comment.