imgviewer: redraw properly on focus change
This commit is contained in:
parent
ec34bf5d57
commit
427b1559db
@ -171,6 +171,7 @@ int main(int argc, char * argv[]) {
|
|||||||
if (menu_process_event(yctx, m)) {
|
if (menu_process_event(yctx, m)) {
|
||||||
/* just decorations should be fine */
|
/* just decorations should be fine */
|
||||||
decors();
|
decors();
|
||||||
|
flip(ctx);
|
||||||
yutani_flip(yctx, window);
|
yutani_flip(yctx, window);
|
||||||
}
|
}
|
||||||
switch (m->type) {
|
switch (m->type) {
|
||||||
@ -189,6 +190,7 @@ int main(int argc, char * argv[]) {
|
|||||||
if (win && win == window) {
|
if (win && win == window) {
|
||||||
win->focused = wf->focused;
|
win->focused = wf->focused;
|
||||||
decors();
|
decors();
|
||||||
|
flip(ctx);
|
||||||
yutani_flip(yctx, window);
|
yutani_flip(yctx, window);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user