mirror of
https://github.com/swaywm/sway.git
synced 2024-11-28 02:41:28 +00:00
input/cursor: don't allow resizing tiling fullscreen views
This check already exists for floating fullscreen views, just copying it over. The views never truly got resized, but the cursor image would erroneously change to the resize cursor.
This commit is contained in:
parent
3444ce7302
commit
82f9872818
|
@ -399,7 +399,7 @@ static void handle_button(struct sway_seat *seat, uint32_t time_msec,
|
|||
|
||||
// Handle tiling resize via mod
|
||||
bool mod_pressed = modifiers & config->floating_mod;
|
||||
if (cont && !is_floating_or_child && mod_pressed &&
|
||||
if (cont && !is_floating_or_child && !is_fullscreen_or_child && mod_pressed &&
|
||||
state == WLR_BUTTON_PRESSED) {
|
||||
uint32_t btn_resize = config->floating_mod_inverse ?
|
||||
BTN_LEFT : BTN_RIGHT;
|
||||
|
|
Loading…
Reference in a new issue