Reverted a change that caused wl-clipboard to hang

I suppose this hack can be done in another way if it's actually still a problem.
This commit is contained in:
Keith Bowes 2023-12-07 13:18:35 -05:00
parent ae42d9d2f7
commit ead6648438
2 changed files with 5 additions and 10 deletions

View file

@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: Waybox 0.0.1\n"
"Report-Msgid-Bugs-To: https://github.com/wizbright/waybox/issues\n"
"POT-Creation-Date: 2023-11-21 15:47-0500\n"
"PO-Revision-Date: 2023-11-21 15:58-0500\n"
"PO-Revision-Date: 2023-12-07 13:16-0500\n"
"Last-Translator: Keith <keith@localhost>\n"
"Language-Team: Esperanto\n"
"Language: eo\n"
@ -113,7 +113,7 @@ msgid "Failed to start server"
msgstr "Malsukcesis startigi servilon"
msgid "New output device detected"
msgstr "Nova enigilo malkovrita"
msgstr "Nova eligilo malkovrita"
msgid "Could not add an output layout."
msgstr "Ne eblis aldoni eligan aranĝon."

View file

@ -116,14 +116,9 @@ static void xdg_toplevel_map(struct wl_listener *listener, void *data) {
toplevel->geometry.y = 0;
}
/* A toplevel no larger than a title bar shouldn't be sized or focused */
if (toplevel->geometry.height > TITLEBAR_HEIGHT &&
toplevel->geometry.height > TITLEBAR_HEIGHT *
(usable_area.width / usable_area.height)) {
wlr_xdg_toplevel_set_size(toplevel->xdg_toplevel,
toplevel->geometry.width, toplevel->geometry.height);
focus_toplevel(toplevel, toplevel->xdg_toplevel->base->surface);
}
wlr_xdg_toplevel_set_size(toplevel->xdg_toplevel,
toplevel->geometry.width, toplevel->geometry.height);
focus_toplevel(toplevel, toplevel->xdg_toplevel->base->surface);
wlr_scene_node_set_position(&toplevel->scene_tree->node,
toplevel->geometry.x, toplevel->geometry.y);