Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a window menu, to invoke with right-click #151

Merged
merged 20 commits into from
Dec 30, 2024
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
946d72a
Adds boilerplate for window menu class.
phkaeser Dec 6, 2024
d1ace0b
Adds popup menu creation.
phkaeser Dec 6, 2024
484c9f2
Adds a thought with regards to re-thinking popup attachment.
phkaeser Dec 6, 2024
521b260
Makes the window menu an integral part of a wlmtk_window_t.
phkaeser Dec 6, 2024
fc96ec8
Tests enabling the menu from the titlebar.
phkaeser Dec 6, 2024
264a423
Removes wlmaker_window_menu_t, since it moved into wlmtk_window_t; an…
phkaeser Dec 6, 2024
cb433f0
Removes wlmaker_window_menu_t, since it moved into wlmtk_window_t; an…
phkaeser Dec 6, 2024
e01d14c
Adds dummy window menu action.
phkaeser Dec 6, 2024
6dfb0ca
Adds events for wlmtk_window_t, and a signal for window state changes…
phkaeser Dec 9, 2024
5725c69
Merge branch 'main' into window-menu
phkaeser Dec 11, 2024
64af5fa
Merge branch 'main' into window-menu
phkaeser Dec 13, 2024
c5f5725
Remove no-longer-needed window_menu.[c|h].
phkaeser Dec 13, 2024
8f36c77
Updates test to have window activated before testing right-button click.
phkaeser Dec 29, 2024
8d75727
Adds handler to wlmtk_popup_menu_t to indicate when menu is requested…
phkaeser Dec 29, 2024
73cca94
Wires up the popup menu's request_close handler from the window.
phkaeser Dec 29, 2024
91def42
Adds a TODO for tests on popup_menu.
phkaeser Dec 29, 2024
91bd012
Starts parametrizing the window menu, beginning with the two already-…
phkaeser Dec 29, 2024
9607142
Updates package name for libwlroots-dev in Debian Trixie. (#152)
phkaeser Dec 30, 2024
275bb52
Merge branch 'main' into window-menu
phkaeser Dec 30, 2024
d0123c7
Disable the failing test once more.
phkaeser Dec 30, 2024
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
Prev Previous commit
Next Next commit
Removes wlmaker_window_menu_t, since it moved into wlmtk_window_t; an…
…d update API calls.
phkaeser committed Dec 6, 2024
commit cb433f05623170ce38df2d91370f049ea00da681
1 change: 1 addition & 0 deletions src/xwl_toplevel.c
Original file line number Diff line number Diff line change
@@ -60,6 +60,7 @@ wlmaker_xwl_toplevel_t *wlmaker_xwl_toplevel_create(
xwl_toplevel_ptr->window_ptr = wlmtk_window_create(
wlmtk_content_from_xwl_content(content_ptr),
&server_ptr->style.window,
&server_ptr->style.menu,
env_ptr);
if (NULL == xwl_toplevel_ptr->window_ptr) {
wlmaker_xwl_toplevel_destroy(xwl_toplevel_ptr);