Re: Move and resize windows with mouse buttons
disquisitiones <[email protected]> Wed, 14 Aug 2024 21:09:52 -0400
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <CAAkvOkYDQQy_qjJK7JtTD4HkgbapN6EwfzpgEikn_F-kuEB48g@mail.gmail.com> |
--000000000000a458c7061fae80a4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The functionality I have in mind should be offered in general for any window, I see it as a responsibility of the window manager. Something that as said is available in Compiz, so it's not really anything new as an idea. Yes I know about meta + pointer but to me is as slow and inconvenient as having to reach the window borders or top bar before starting the operations. I'm not sure if this can be of sufficient general interest to be considered as a feature that can be added to KWin. However I think that if someone tries it, would never accept to go back to the usual methods after (kidding a bit :-)) If there is no interest in adding it in KWin, could you point me to the relevant sections of the KWin source code where I could try to implement it by myself? I'm not familiar with the KWIn codebase and this could help a lot. Thanks! Luca Il giorno mer 14 ago 2024 alle ore 19:23 Aleix Pol <[email protected]> ha scritto: > So you want to make an app resize in creative ways or to modify KWin > to resize windows in different ways? > > We can resize and move using the meta + pointer, does that help? > > Aleix > > On Mon, Aug 12, 2024 at 2:14=E2=80=AFAM disquisitiones <disquisitiones@gm= ail.com> > wrote: > > > > Hello Aleix, > > > > thanks for your reply. > > > > Sorry I now realize that I've not been totally clear in describing the > functionality I have in mind. > > > > My point is to be able to move or resize windows by clicking on any > internal point of the window region (and then dragging), and not only > > in the top bar or borders as it is usually implemented. > > > > I find it much faster and convenient than having to first reach those > narrow enabled window parts to start the operation. > > And mapping for example the lateral mouse buttons for this is ideal. > > > > That is pretty easy to get in Compiz but unfortunately, I've never seen > it available anywhere else. > > > > Luca > > > > > > > > Il giorno dom 11 ago 2024 alle ore 19:48 Aleix Pol <[email protected]> > ha scritto: > >> > >> Hi, > >> I'm not really sure I understand what you want. > >> > >> Isn't with press and drag how one normally resizes windows in KWin? > >> > >> Aleix > >> > >> On Sun, Aug 11, 2024 at 4:17=E2=80=AFAM disquisitiones < > [email protected]> wrote: > >> > > >> > Hello, > >> > > >> > I would like to move and resize windows associating this action to a > mouse button click and a drag action, without the need to use any keyboar= d > key at the same time. To my understanding there is no setting currently > available in KWin to obtain this behaviour, so I would like to try to > modify the source code in order to get this functionality. > >> > > >> > Could you point me to the source code area where this could be > implemented? > >> > > >> > Thanks! > >> > > >> > Luca > --000000000000a458c7061fae80a4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>The functionality I have in mind should be offered in= general for any window, I see it as a responsibility of the window manager= .</div><div>Something that as said is available in Compiz, so it's not = really anything new as an idea.</div><div><br></div><div>Yes I know about m= eta + pointer but to me is as slow and inconvenient as having to reach the = window borders or top bar before starting the operations.</div><div><br></d= iv><div>I'm not sure if this can be of sufficient general interest to b= e considered as a feature that can be added to KWin.</div><div>However I th= ink that if someone tries it, would never accept to go back to the usual me= thods after (kidding a bit :-))<br></div><div><br></div><div>If there is no= interest in adding it in KWin, could you point me to the relevant sections= of the KWin source code where I could try to implement it by myself?</div>= <div>I'm not familiar with the KWIn codebase and this could help a lot.= </div><div><br></div><div>Thanks!</div><div><br></div><div>Luca</div><div><= br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gma= il_attr">Il giorno mer 14 ago 2024 alle ore 19:23 Aleix Pol <<a href=3D"= mailto:[email protected]">[email protected]</a>> ha scritto:<br></div><blo= ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left= :1px solid rgb(204,204,204);padding-left:1ex">So you want to make an app re= size in creative ways or to modify KWin<br> to resize windows in different ways?<br> <br> We can resize and move using the meta + pointer, does that help?<br> <br> Aleix<br> <br> On Mon, Aug 12, 2024 at 2:14=E2=80=AFAM disquisitiones <<a href=3D"mailt= o:[email protected]" target=3D"_blank">[email protected]</a>&= gt; wrote:<br> ><br> > Hello Aleix,<br> ><br> > thanks for your reply.<br> ><br> > Sorry I now realize that I've not been totally clear in describing= the functionality I have in mind.<br> ><br> > My point is to be able to move or resize windows by clicking on any in= ternal point of the window region (and then dragging), and not only<br> > in the top bar or borders as it is usually implemented.<br> ><br> > I find it much faster and convenient than having to first reach those = narrow enabled window parts to start the operation.<br> > And mapping for example the lateral mouse buttons for this is ideal.<b= r> ><br> > That is pretty easy to get in Compiz but unfortunately, I've never= seen it available anywhere else.<br> ><br> > Luca<br> ><br> ><br> ><br> > Il giorno dom 11 ago 2024 alle ore 19:48 Aleix Pol <<a href=3D"mail= to:[email protected]" target=3D"_blank">[email protected]</a>> ha scritto:= <br> >><br> >> Hi,<br> >> I'm not really sure I understand what you want.<br> >><br> >> Isn't with press and drag how one normally resizes windows in = KWin?<br> >><br> >> Aleix<br> >><br> >> On Sun, Aug 11, 2024 at 4:17=E2=80=AFAM disquisitiones <<a href= =3D"mailto:[email protected]" target=3D"_blank">disquisitiones@gmail= .com</a>> wrote:<br> >> ><br> >> > Hello,<br> >> ><br> >> > I would like to move and resize windows associating this acti= on to a mouse button click and a drag action, without the need to use any k= eyboard key at the same time. To my understanding there is no setting curre= ntly available in KWin to obtain this behaviour, so I would like to try to = modify the source code in order to get this functionality.<br> >> ><br> >> > Could you point me to the source code area where this could b= e implemented?<br> >> ><br> >> > Thanks!<br> >> ><br> >> > Luca<br> </blockquote></div> --000000000000a458c7061fae80a4--