mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Add xwayland-unmanaged.c
Handle xwayland override_direct surfaces separately from the view struct - in order to simplify code, particularly in view.c
This commit is contained in:
parent
d831743b25
commit
8e7f2e78cd
8 changed files with 162 additions and 24 deletions
|
|
@ -150,6 +150,8 @@ void view_focus(struct view *view)
|
|||
/* Note: this function only deals with keyboard focus. */
|
||||
if (!view)
|
||||
return;
|
||||
|
||||
/* TODO: messy - sort out */
|
||||
if (!view->mapped) {
|
||||
view->impl->map(view);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue