mirror of
https://github.com/swaywm/sway.git
synced 2025-11-23 06:59:48 -05:00
Add output modeline command
Only works with DRM backend.
This commit is contained in:
parent
daaec72ac0
commit
57d6f6f19e
6 changed files with 94 additions and 1 deletions
|
|
@ -282,6 +282,7 @@ sway_cmd output_cmd_dpms;
|
|||
sway_cmd output_cmd_enable;
|
||||
sway_cmd output_cmd_max_render_time;
|
||||
sway_cmd output_cmd_mode;
|
||||
sway_cmd output_cmd_modeline;
|
||||
sway_cmd output_cmd_position;
|
||||
sway_cmd output_cmd_scale;
|
||||
sway_cmd output_cmd_scale_filter;
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
#include <wlr/types/wlr_tablet_tool.h>
|
||||
#include <wlr/util/box.h>
|
||||
#include <xkbcommon/xkbcommon.h>
|
||||
#include <xf86drmMode.h>
|
||||
#include "../include/config.h"
|
||||
#include "list.h"
|
||||
#include "swaynag.h"
|
||||
|
|
@ -257,6 +258,7 @@ struct output_config {
|
|||
int width, height;
|
||||
float refresh_rate;
|
||||
int custom_mode;
|
||||
drmModeModeInfo drm_mode;
|
||||
int x, y;
|
||||
float scale;
|
||||
enum scale_filter_mode scale_filter;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue