| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
|
|
|
| |
client_ctx in keypress and buttonpress event handlers; pass appropriate *ctx's
based on context.
While here, limit some globals, replace defines with appropriate variables and
fix some naming.
|
| |
|
| |
|
|
|
|
|
|
| |
init/setup - mostly for menu building.
ok semarie@ (another cwm user)
|
| |
|
|
|
|
|
|
|
| |
new window manager; so allow CWM_EXEC_WM to assign new wm to wm_argv and
pass through cwm_status (now EXECWM) so that x_teardown() gets called
before exec'ing the new window manager. Removes the need for a separate
x_restart() now, using new wm_argv; and consolidates errno for execvp.
|
|
|
|
|
|
| |
and HOST_NAME_MAX+1, respectively.
ok doug@
|
|
|
|
|
|
| |
global Clientq and place it inside screen_ctx since every client belongs
to a screen, then use the same per screen clientq to track stacking
order (the sole reason for mruq).
|
| |
|
| |
|
|
|
|
| |
macros in the one place they are needed.
|
|
|
|
|
|
|
|
| |
original idea (with now-outdated patch) from Thomas Adam. Since we now
report where errors exist, this now makes more sense. Expand a bit on
config file parsing in the cwm(1).
Discussed with a few, including sthen; ok sthen.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
change allows a restart to trigger proper teardown first, even though
teardown is not (yet) complete.
After some discussion with oga@nicotinebsd.org regarding a more
complicated version/idea.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
used for focus events, but rather the timestamp of the generated event.
Track the last event timestamp and send it down for a WM_TAKE_FOCUS
ClientMessage. I suspect we should do this for clients that don't
announce this Atom as well, though the raciness gets us into a bind.
Solves focus order issue since WM_TAKE_FOCUS; fix verified by sthen@
ok sthen@
|
|
|
|
| |
for gathering Atoms.
|
| |
|
| |
|
|
|
|
|
| |
*after* config parsing, we no longer need to split up display/screen
initialization, so collapse.
|
|
|
|
| |
config options, add the keybinding GrabKey calls here
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
need to do this everytime; with Tiago Cunha
|
|
|
|
| |
font/color drawing issues; from Alexander Polakov
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
existing argv; same idea with respect to argv saving as Alexander
Polakov. reload support was half-complete and is getting in the way.
agreed to by many
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
While testing for Xinerama during setup was done display-wide, each time
XineramaQueryScreens() is called either in start-up or due to an XRR
event, the library re-tests for the Xinerama extension anyway before
moving on; so the initial test is redundant and allows another global to
go away with one other change: always fill in sc->xinerama (and _no),
regardless of the success of malloc in XineramaQueryScreens(), and use
it to see if Xinerama dimensions exist when asked by client and/or menu
code.
|
|
|
|
|
| |
move chuck to display init; allows some shuffling to occur limiting
screen_init_xinerama()'s scope while keeping order intact.
|
|
|
|
|
|
| |
don't need to pass down the new values to screen_update_geometry(); so
just read the width/height values directly for both uses of
screen_update_geometry(). prep for further changes in this area.
|
|
|
|
|
|
|
| |
dummy one to use instead; allows us to not have to wait for menu_init(),
so re-shuffle _NET_SUPPORTED slightly.
ok sthen@
|
| |
|
|
|
|
|
|
| |
from me.
ok oga@
|
|
|
|
|
|
| |
the way with the cwm specific parts.
ok oga@
|
|
|
|
|
|
| |
small diff from Thomas Pfaff.
ok oga@
|
|
|
|
|
|
|
|
| |
sense and to be slightly less un-expected. from Alexander Polakov.
re-use 'normal' cursor now instead XC_hand1 for menu selection. i
really wish X had real docs and made sense.
ok on earlier diff with '?' removed (but it's back now) oga@
|
|
|
|
|
|
|
| |
method that actually works. checking for icccm compliant wm's should
also be done first, but that's another diff (noted by oga).
ok oga@
|
| |
|
|
|
|
|
|
|
| |
This closes a race we were hitting often where stuff started right
before cwm may not get noticed and not have borders.
ok okan@. Prompted by something todd noticed.
|
|
|
|
|
|
| |
- teach _NET_WORKAREA about gap.
ok oga@
|
|
|
|
|
|
| |
are required.
encourged to go all the way by oga@
|