Make bitfields into regular fields so we can mirror WAppIcon in Rust.

This commit is contained in:
2025-09-09 22:37:37 -04:00
parent a67f7483fd
commit 54bd69680a
+16 -16
View File
@@ -75,24 +75,24 @@ struct WAppIcon {
Window main_window;
struct WDock *dock; /* In which dock is docked. */
struct _AppSettingsPanel *panel; /* Settings Panel */
unsigned int docked:1;
unsigned int omnipresent:1; /* If omnipresent when
unsigned int docked;
unsigned int omnipresent; /* If omnipresent when
* docked in clip */
unsigned int attracted:1; /* If it was attracted by the clip */
unsigned int launching:1;
unsigned int running:1; /* application is already running */
unsigned int relaunching:1; /* launching 2nd instance */
unsigned int forced_dock:1;
unsigned int auto_launch:1; /* launch app on startup */
unsigned int remote_start:1;
unsigned int updated:1;
unsigned int editing:1; /* editing docked icon */
unsigned int drop_launch:1; /* launching from drop action */
unsigned int paste_launch:1; /* launching from paste action */
unsigned int destroyed:1; /* appicon was destroyed */
unsigned int buggy_app:1; /* do not make dock rely on hints
unsigned int attracted; /* If it was attracted by the clip */
unsigned int launching;
unsigned int running; /* application is already running */
unsigned int relaunching; /* launching 2nd instance */
unsigned int forced_dock;
unsigned int auto_launch; /* launch app on startup */
unsigned int remote_start;
unsigned int updated;
unsigned int editing; /* editing docked icon */
unsigned int drop_launch; /* launching from drop action */
unsigned int paste_launch; /* launching from paste action */
unsigned int destroyed; /* appicon was destroyed */
unsigned int buggy_app; /* do not make dock rely on hints
* set by app */
unsigned int lock:1; /* do not allow to be destroyed */
unsigned int lock; /* do not allow to be destroyed */
};
/******** Accessors/mutators ********/