You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix named anonymous struct warning
This commit is contained in:
@@ -95,6 +95,15 @@
|
|||||||
static const double abs_resolution_mult = 10000.0;
|
static const double abs_resolution_mult = 10000.0;
|
||||||
static const double abs_resolution_range_mult = 10.0;
|
static const double abs_resolution_range_mult = 10.0;
|
||||||
|
|
||||||
|
// Hints for X11 fullscreen
|
||||||
|
struct Hints {
|
||||||
|
unsigned long flags = 0;
|
||||||
|
unsigned long functions = 0;
|
||||||
|
unsigned long decorations = 0;
|
||||||
|
long inputMode = 0;
|
||||||
|
unsigned long status = 0;
|
||||||
|
};
|
||||||
|
|
||||||
bool DisplayServerX11::has_feature(Feature p_feature) const {
|
bool DisplayServerX11::has_feature(Feature p_feature) const {
|
||||||
switch (p_feature) {
|
switch (p_feature) {
|
||||||
case FEATURE_SUBWINDOWS:
|
case FEATURE_SUBWINDOWS:
|
||||||
|
|||||||
@@ -61,15 +61,6 @@
|
|||||||
#include <X11/extensions/Xrandr.h>
|
#include <X11/extensions/Xrandr.h>
|
||||||
#include <X11/keysym.h>
|
#include <X11/keysym.h>
|
||||||
|
|
||||||
// Hints for X11 fullscreen
|
|
||||||
typedef struct {
|
|
||||||
unsigned long flags = 0;
|
|
||||||
unsigned long functions = 0;
|
|
||||||
unsigned long decorations = 0;
|
|
||||||
long inputMode = 0;
|
|
||||||
unsigned long status = 0;
|
|
||||||
} Hints;
|
|
||||||
|
|
||||||
typedef struct _xrr_monitor_info {
|
typedef struct _xrr_monitor_info {
|
||||||
Atom name;
|
Atom name;
|
||||||
Bool primary = false;
|
Bool primary = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user