mirror of
https://github.com/labwc/labwc.git
synced 2026-02-21 01:40:26 -05:00
osd: show alt-tab switcher center-aligned on all outputs
Fixes issue #283
This commit is contained in:
parent
a234e71b29
commit
48c9e6fda0
6 changed files with 30 additions and 20 deletions
|
|
@ -284,7 +284,6 @@ desktop_node_and_view_at(struct server *server, double lx, double ly,
|
|||
}
|
||||
#endif
|
||||
}
|
||||
struct wlr_scene_node *osd = &server->osd_tree->node;
|
||||
while (node) {
|
||||
struct node_descriptor *desc = node->data;
|
||||
/* TODO: convert to switch() */
|
||||
|
|
@ -307,10 +306,6 @@ desktop_node_and_view_at(struct server *server, double lx, double ly,
|
|||
return NULL;
|
||||
}
|
||||
}
|
||||
if (node == osd) {
|
||||
*view_area = LAB_SSD_OSD;
|
||||
return NULL;
|
||||
}
|
||||
node = node->parent;
|
||||
}
|
||||
if (!node) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue