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

Add initial view focusing code #72

Merged
merged 3 commits into from
Nov 2, 2024
Merged

Add initial view focusing code #72

merged 3 commits into from
Nov 2, 2024

Conversation

sdilts
Copy link
Collaborator

@sdilts sdilts commented Nov 2, 2024

Add the required functions to focus a view in the backend and use it.

  • Delay notifying the frontend of new views until the first commit is
    made; this allows us to immediately call events that require the
    xdg_toplevel to be configured.
  • Guess on what we need to do to unfocs a view; it seems to work.

Also initialized the seat correctly by letting it know about the keyboard group that we are using.

Add the created keyboard to the seat so it sends keyboard events.
+ Change the order of keyboard and seat initialization, as the
  keyboard init now requires having a seat object.
Add the required functions to focus a view in the backend and use it.
+ Delay notifying the frontend of new views until the first commit is
  made; this allows us to immediately call events that require the
  xdg_toplevel to be configured.
+ Guess on what we need to do to unfocs a view; it seems to work.
@sdilts sdilts merged commit 17842f9 into master Nov 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant