Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
df5dae0
stream-chooser: Implement live toplevel previews
soreau Jun 2, 2026
300ce9e
stream-chooser: Use frame tick callback to drive frame requests
soreau Jun 3, 2026
049db27
stream-chooser: Better frame timing and buffer handling
soreau Jun 5, 2026
12e702d
stream-chooser: Better cleanup of resources
soreau Jun 6, 2026
dcd23ad
stream-chooser: Don't add outputs with empty connector name
soreau Jun 6, 2026
0eed2fb
stream-chooser: Use dmabuf instead of shm for buffer transfers
soreau Jun 7, 2026
115c93b
stream-chooser: Use buffers more sparingly
soreau Jun 7, 2026
0ba31a1
stream-chooser: Buffer handling improvements
soreau Jun 7, 2026
e3745a4
stream-chooser: Fix crash on toplevel close
soreau Jun 7, 2026
5c18828
xdpw: stream chooser signal resizes to widgets (#478)
trigg Jun 8, 2026
4dc5cd9
stream-chooser: Only stream toplevel widget on mouse over
soreau Jun 8, 2026
a3339c9
stream-chooser: Set widget size based on signaled width
soreau Jun 8, 2026
1ee8008
stream-chooser: Restyle
soreau Jun 8, 2026
a31a3c8
stream-chooser: Align toplevel icons with title text
soreau Jun 8, 2026
e46887b
xdpw: automatic width calculation (#480)
trigg Jun 8, 2026
9f0e14e
stream-chooser: Stream selection without pause timeout
soreau Jun 8, 2026
6a40dca
stream-chooser: Implement stream/pause for outputs as well
soreau Jun 8, 2026
53c0e58
stream-chooser: Do a better job cleaning up toplevels and outputs
soreau Jun 8, 2026
b70c184
stream-chooser: Small aesthetics adjustment
soreau Jun 8, 2026
c38909c
stream-chooser: Select output tab if no toplevels found
soreau Jun 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/stream-chooser/mainlayout.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "mainlayout.hpp"
#include "stream-chooser.hpp"
void MainLayout::allocate_vfunc(const Gtk::Widget& widget, int width, int height, int baseline)
{
Gtk::Widget& widget_not_const = const_cast<Gtk::Widget&>(widget);
Expand All @@ -10,6 +11,8 @@ void MainLayout::allocate_vfunc(const Gtk::Widget& widget, int width, int height
alloc.set_y(height / 4);
alloc.set_x(width / 4);
inner->size_allocate(alloc, -1);

WayfireStreamChooserApp::getInstance().resize(width, height);
}

void MainLayout::measure_vfunc(const Gtk::Widget& widget, Gtk::Orientation orientation,
Expand Down
2 changes: 2 additions & 0 deletions src/stream-chooser/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
deps = [
gbm,
drm,
gtkmm,
wf_protos,
wfconfig,
Expand Down
Loading
Loading