Compare commits
5 Commits
80084839a9
...
9bcef3d040
Author | SHA1 | Date |
---|---|---|
Leonardo Hernández Hernández | 9bcef3d040 | |
Leonardo Hernández Hernández | ae42e4390b | |
Leonardo Hernández Hernández | 303fc72b12 | |
Leonardo Hernández Hernández | 871463c327 | |
Leonardo Hernández Hernández | d1496a2a9b |
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@
|
|||
include config.mk
|
||||
|
||||
# flags for compiling
|
||||
DWLCPPFLAGS = -I. -DWLR_USE_UNSTABLE -DVERSION=\"$(VERSION)\"
|
||||
DWLCPPFLAGS = -I. -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\"
|
||||
|
||||
# Wayland utils
|
||||
WAYLAND_PROTOCOLS = `pkg-config --variable=pkgdatadir wayland-protocols`
|
||||
|
|
|
@ -27,7 +27,7 @@ dwl is not meant to provide every feature under the sun. Instead, like dwm, it s
|
|||
Features under consideration (possibly as patches) are:
|
||||
|
||||
- Protocols made trivial by wlroots
|
||||
- Implement the text-input and input-method protocols to support IME once ibus implements input-method v2 (see https://github.com/ibus/ibus/pull/2256 and https://github.com/djpohly/dwl/pull/12)
|
||||
- Implement the text-input and input-method protocols to support IME once ibus implements input-method v2 (see https://github.com/ibus/ibus/pull/2256 and https://github.com/djpohly/dwl/pull/235)
|
||||
|
||||
Feature *non-goals* for the main codebase include:
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
_VERSION = 0.3.1
|
||||
_VERSION = 0.3.1-dev
|
||||
VERSION = `git describe --long --tags --dirty 2>/dev/null || echo $(_VERSION)`
|
||||
|
||||
# paths
|
||||
|
|
5
dwl.c
5
dwl.c
|
@ -1,7 +1,6 @@
|
|||
/*
|
||||
* See LICENSE file for copyright and license details.
|
||||
*/
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <getopt.h>
|
||||
#include <libinput.h>
|
||||
#include <limits.h>
|
||||
|
@ -792,7 +791,7 @@ commitlayersurfacenotify(struct wl_listener *listener, void *data)
|
|||
if (!wlr_output || !(layersurface->mon = wlr_output->data))
|
||||
return;
|
||||
|
||||
if (layers[wlr_layer_surface->current.layer] != layersurface->scene) {
|
||||
if (layers[wlr_layer_surface->current.layer] != layersurface->scene->parent) {
|
||||
wlr_scene_node_reparent(layersurface->scene,
|
||||
layers[wlr_layer_surface->current.layer]);
|
||||
wl_list_remove(&layersurface->link);
|
||||
|
@ -1781,6 +1780,8 @@ resize(Client *c, struct wlr_box geo, int interact)
|
|||
wlr_scene_node_set_position(&c->border[1]->node, 0, c->geom.height - c->bw);
|
||||
wlr_scene_node_set_position(&c->border[2]->node, 0, c->bw);
|
||||
wlr_scene_node_set_position(&c->border[3]->node, c->geom.width - c->bw, c->bw);
|
||||
if (c->fullscreen_bg)
|
||||
wlr_scene_rect_set_size(c->fullscreen_bg, c->geom.width, c->geom.height);
|
||||
|
||||
/* wlroots makes this a no-op if size hasn't changed */
|
||||
c->resize = client_set_size(c, c->geom.width - 2 * c->bw,
|
||||
|
|
Loading…
Reference in New Issue