mirror of
https://github.com/swaywm/sway.git
synced 2025-11-13 13:29:49 -05:00
swaynag: remove xdg-output logic
We can just get the output name from wl_output directly, now that wl_output version 4 exists.
This commit is contained in:
parent
4732325f59
commit
57a7b3998e
4 changed files with 22 additions and 47 deletions
|
|
@ -5,7 +5,6 @@
|
|||
#include "list.h"
|
||||
#include "pool-buffer.h"
|
||||
#include "swaynag/types.h"
|
||||
#include "xdg-output-unstable-v1-client-protocol.h"
|
||||
|
||||
#define SWAYNAG_MAX_HEIGHT 500
|
||||
|
||||
|
|
@ -75,13 +74,11 @@ struct swaynag_details {
|
|||
|
||||
struct swaynag {
|
||||
bool run_display;
|
||||
int querying_outputs;
|
||||
|
||||
struct wl_display *display;
|
||||
struct wl_compositor *compositor;
|
||||
struct wl_seat *seat;
|
||||
struct wl_shm *shm;
|
||||
struct zxdg_output_manager_v1 *xdg_output_manager;
|
||||
struct wl_list outputs; // swaynag_output::link
|
||||
struct wl_list seats; // swaynag_seat::link
|
||||
struct swaynag_output *output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue