mirror of
https://github.com/labwc/labwc.git
synced 2026-02-18 22:05:32 -05:00
Merge pull request #21 from apbryan/output-management
Output management
This commit is contained in:
commit
fc3a170c78
3 changed files with 690 additions and 0 deletions
|
|
@ -20,6 +20,7 @@
|
|||
#include <wlr/types/wlr_matrix.h>
|
||||
#include <wlr/types/wlr_output.h>
|
||||
#include <wlr/types/wlr_output_damage.h>
|
||||
#include <wlr/types/wlr_output_management_v1.h>
|
||||
#include <wlr/types/wlr_output_layout.h>
|
||||
#include <wlr/types/wlr_pointer.h>
|
||||
#include <wlr/types/wlr_seat.h>
|
||||
|
|
@ -114,6 +115,11 @@ struct server {
|
|||
struct wl_listener new_output;
|
||||
struct wlr_output_layout *output_layout;
|
||||
|
||||
struct wl_listener output_layout_change;
|
||||
struct wlr_output_manager_v1 *output_manager;
|
||||
struct wl_listener output_manager_apply;
|
||||
struct wlr_output_configuration_v1 *pending_output_config;
|
||||
|
||||
/* Set when in cycle (alt-tab) mode */
|
||||
struct view *cycle_view;
|
||||
|
||||
|
|
@ -329,6 +335,8 @@ void output_damage_surface(struct output *output, struct wlr_surface *surface,
|
|||
double lx, double ly, bool whole);
|
||||
void scale_box(struct wlr_box *box, float scale);
|
||||
|
||||
void output_manager_init(struct server *server);
|
||||
|
||||
void damage_all_outputs(struct server *server);
|
||||
void damage_view_whole(struct view *view);
|
||||
void damage_view_part(struct view *view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue