update name
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk/gdkwayland.h>
|
||||
|
||||
#include "wdisplay.h"
|
||||
#include "wdisplays.h"
|
||||
#include "glviewport.h"
|
||||
|
||||
__attribute__((noreturn)) void wd_fatal_error(int status, const char *message) {
|
||||
@@ -1148,7 +1148,7 @@ static void activate(GtkApplication* app, gpointer user_data) {
|
||||
state->grabbing_cursor = gdk_cursor_new_from_name(gdk_display, "grabbing");
|
||||
state->move_cursor = gdk_cursor_new_from_name(gdk_display, "move");
|
||||
|
||||
GtkBuilder *builder = gtk_builder_new_from_resource("/wdisplay.ui");
|
||||
GtkBuilder *builder = gtk_builder_new_from_resource("/wdisplays.ui");
|
||||
GtkWidget *window = GTK_WIDGET(gtk_builder_get_object(builder, "heads_window"));
|
||||
state->header_stack = GTK_WIDGET(gtk_builder_get_object(builder, "header_stack"));
|
||||
state->stack_switcher = GTK_WIDGET(gtk_builder_get_object(builder, "heads_stack_switcher"));
|
||||
|
||||
@@ -8,7 +8,7 @@ assert(gdk.get_pkgconfig_variable('targets').split().contains('wayland'), 'Wayla
|
||||
epoxy = dependency('epoxy')
|
||||
|
||||
executable(
|
||||
'wdisplay',
|
||||
'wdisplays',
|
||||
[
|
||||
'main.c',
|
||||
'outputs.c',
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "wdisplay.h"
|
||||
#include "wdisplays.h"
|
||||
|
||||
#include "wlr-output-management-unstable-v1-client-protocol.h"
|
||||
#include "xdg-output-unstable-v1-client-protocol.h"
|
||||
@@ -644,5 +644,9 @@ void wd_state_destroy(struct wd_state *state) {
|
||||
wl_list_for_each_safe(output, output_tmp, &state->outputs, link) {
|
||||
wd_output_destroy(output);
|
||||
}
|
||||
zwlr_screencopy_manager_v1_destroy(state->copy_manager);
|
||||
zwlr_output_manager_v1_destroy(state->output_manager);
|
||||
zxdg_output_manager_v1_destroy(state->xdg_output_manager);
|
||||
wl_shm_destroy(state->shm);
|
||||
free(state);
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "wdisplay.h"
|
||||
#include "wdisplays.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in New Issue
Block a user