GithubHelp home page GithubHelp logo

xclickroot's Issues

While compiling getting this warning

/usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"


Thanks again

LICENSE file

It's really important to have a license for a project (because of legal reasons)
and it's way more clear with a license file

Issue with xclickroot in spectrwm

Hello!

I'm having some trouble getting xclickroot to work. Here is some background information:

  • OS: Arch Linux
  • DE: spectrwm
  • Package source: aur/xmenu (script located at ~/.local/bin/menu) and aur/xclickroot-git

I start xclickroot-git in ~/.xprofile:

xclickroot -r ~/.local/bin/menu

This setup works in three other of my window managers (awesome, qtile, and xmonad), but not in spectrwm.

In accordance with your advice on Issue #3, I tried to find out if another device was grabbing the mouse, but there was none. As such, after killing xclickroot, I was able to start it again in the terminal, but nothing happened when right-clicking the root window. Would you happen to know why this is, or how I might fix this?

using signal(3) to ignore SIGCHLD is problematic

Recently (new machine, new Linux Installation) I noticed strange behaviour when launching subprocesses from code that was itself spawned via xclickroot: Tcl code that used exec was giving me error messages about lost child processes. It appears that ignoring SIGCHLD is inherited by children, which shouldn't happen - as I understand it the call to signal(3) is merely intended to avoid zombie children.

I recommend using the POSIX-compatible way of avoiding to wait by using sigaction(2) with the SA_NOCLDWAIT option (see also: https://stackoverflow.com/questions/40601337/what-is-the-use-of-ignoring-sigchld-signal-with-sigaction2). Replacing the call to signal(3) with

 struct sigaction sa;
 sa.sa_handler = SIG_DFL;
 sa.sa_flags = SA_NOCLDWAIT;
 sigaction(SIGCHLD, &sa, NULL);

seems to work for me.

Does not work

Hi, I am trying to run this useful utility, but I see no result.

  • Arch Linux
  • i3
  • nvidia
  • aur pkg xclickroot-git

xclickroot -r urxvt.

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.