MFH: r524144
x11-wm/cage: follow up for r522232 Approved by: ports-secteam blanket (regression fix)
This commit is contained in:
parent
db40193416
commit
6746ef6e81
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q1/; revision=524145
@ -3,7 +3,7 @@
|
||||
PORTNAME= cage
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.1.1
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= x11-wm
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
|
@ -21,7 +21,15 @@ https://github.com/Hjdskes/cage/commit/51e6c760da51
|
||||
with a proper wl_display. */
|
||||
--- output.c.orig 2019-06-03 17:55:52 UTC
|
||||
+++ output.c
|
||||
@@ -386,6 +386,9 @@ handle_new_output(struct wl_listener *listener, void *
|
||||
@@ -207,6 +207,7 @@ handle_output_damage_frame(struct wl_listener *listene
|
||||
}
|
||||
|
||||
if (!needs_frame) {
|
||||
+ wlr_output_rollback(output->wlr_output);
|
||||
wlr_log(WLR_DEBUG, "Output doesn't need frame and isn't damaged");
|
||||
goto buffer_damage_finish;
|
||||
}
|
||||
@@ -386,6 +387,9 @@ handle_new_output(struct wl_listener *listener, void *
|
||||
/* Place the cursor in the center of the screen. */
|
||||
wlr_cursor_warp(server->seat->cursor, NULL, wlr_output->width / 2, wlr_output->height / 2);
|
||||
wlr_output_damage_add_whole(server->output->damage);
|
||||
|
Loading…
Reference in New Issue
Block a user