Coder Social home page Coder Social logo

ViewOnWS does not work about dusk HOT 2 CLOSED

bakkeby avatar bakkeby commented on August 26, 2024
ViewOnWS does not work

from dusk.

Comments (2)

Nazushvel avatar Nazushvel commented on August 26, 2024

Well I feel dumb, I see now that shift does that and ctrl does not. Guess I should have read the instructions a bit better. Closing as non issue

from dusk.

bakkeby avatar bakkeby commented on August 26, 2024

Yes. To give a bit more context for other people reading this the ViewOnWs functionality intends to mirror the viewontag patch for dwm which makes the view follow the tag a window is being moved to.

But that feature makes it always the case when moving windows around, and sometimes you may want to:

  • move a specific window to another tag / workspace and continue working on it there or
  • just move one or more windows away to another tag

As such the behaviour was split into two separate functions:

dusk/config.def.h

Lines 453 to 460 in acedf00

#define WSKEYS(MOD,KEY,NAME) \
{ KeyPress, MOD, KEY, comboviewwsbyname, {.v = NAME} }, \
{ KeyPress, MOD|Alt, KEY, enablewsbyname, {.v = NAME} }, \
{ KeyPress, MOD|Shift, KEY, movetowsbyname, {.v = NAME} }, \
{ KeyPress, MOD|Ctrl, KEY, sendtowsbyname, {.v = NAME} }, \
{ KeyPress, MOD|Ctrl|Shift, KEY, movealltowsbyname, {.v = NAME} }, \
{ KeyPress, MOD|Ctrl|Alt, KEY, moveallfromwsbyname, {.v = NAME} }, \
{ KeyPress, MOD|Ctrl|Alt|Shift, KEY, swapwsbyname, {.v = NAME} }, \

Now, what is the purpose of the ViewOnWs functionality in dusk then considering that this is controlled by different functions?

The functionality toggle controls the default behaviour for other scenarios where clients are being moved around. For example movewsdir, movews, movealltowsbyname, clienttomon, clientstomon, or when _NET_ACTIVE_WINDOW client messages are received and the FocusOnNetActive functionality is enabled.

from dusk.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.