| Commit message (Collapse) | Author | Age | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
1.52), not realising that the previous (less efficient) fix had already
been commited (rev 1.50).
Had this in my tree for ages to remove the previous code. Effectively
reverts rev 1.50.
ok okan@
|
|
|
|
|
|
|
|
| |
pedantic.
from Thomas Pfaff.
ok oga@
|
| |
|
|
|
|
|
|
|
| |
Requested by Christian Neukirchen last august. He provided a patch but the one I
wrote was significantly simpler (1 - 2 + in the whole diff).
makes sense to okan@.
|
|
|
|
|
|
| |
reminded by a similiar diff from Thomas Pfaff.
ok oga@
|
|
|
|
|
|
| |
(with the manpage bit from me).
ok oga@
|
|
|
|
|
|
| |
are required.
encourged to go all the way by oga@
|
|
|
|
|
|
| |
separate commits.
ok oga@
|
|
|
|
|
|
|
|
|
|
| |
says that a pager can change the property at any time (most need a
clientmessage). So deal with property updates.
Needed to shuffle some of the other code around since we can't just use
shortcut_to_name[] everywhere now.
ok okan@
|
|
|
|
|
|
| |
_NET_DESKTOP_GEOMETRY.
ok okan@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
remove screen_current() it was utterly bogus when nscreens > 1.
pass a fake client_ctx in the case where there's no client and the
kbfunc or mousefunc doesn't need a real one, it just contains the
current screen, modify these functions so that they pass down the screen
context to their callees.
make groups per screen, it's the only way it makes sense in this regard.
ok okan@.
|
|
|
|
| |
ok oga, okan
|
|
|
|
| |
ok oga@
|
|
|
|
|
|
| |
additionally, respect aspect ratio hints.
ok oga@
|
|
|
|
|
|
|
|
|
|
| |
every other window manager since twm.
The event layer is very nice, very shiny, very flexible, and very much
underutilised. We don't need any of those shiny features so it's
probably better to earn ourselves 1k smaller text size instead.
ok todd@, okan@
|
|
|
|
| |
"commit that" oga@, ok sthen@
|
|
|
|
|
| |
- make _xev_reincorporate static
evmask naming oga@, input okan@. ok okan@, oga@
|
|
|
|
|
|
| |
sizeof(int) != sizeof(void *). This has been annoying me for ages.
ok okan@, todd@
|
|
|
|
|
|
|
| |
dance; xevents now able to deal with a border being set (which fixes
those annoying movie-watching apps).
ok todd@, oga@
|
|
|
|
| |
ok oga@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
times you'd end up losing clients (thinking they had gone away).
From the ICCCM (which should not be read without a stiff drink in hand,
I made this mistake so you don't have to): to request a window to be
withdrawn one should send a synthetic UnmapRequest event when iconified.
To request iconification one should just unmap the window. The ICCM
further recommends that the synthetic event should just be taken as a
cue to withdraw, to deal with legacy clients. Taking a hint from this,
rework xev_handle_unmaprequest to correctly detect these situations. A
Withdrawn window may come back anywhere, even as a subwindow of
something else, so the correct way to handle this state is to forget it
ever existed.
While i'm here, kill a dumb attempt to notice this in client_delete, and
nuke the very unnecessary arguments.
Todd confirmed this fixes the `race'.
ok todd@, ok ok okan@
|
|
|
|
|
|
| |
events and state.
agreed by oga
|
|
|
|
|
|
|
|
|
|
|
|
| |
to push attributes around, so things get a lot simplier, while fixing a
few issues in the meantime; original suggestion by Edd Barrett many many
moons ago.
annoying window placement and race, found in c2k8 by todd, fix by oga!
lots of feedback from todd and oga - thanks!
"commit that bad boy" oga@
|
|
|
|
| |
ok oga@
|
|
|
|
| |
ok oga@
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
reconfiguration events and change our sizes depending on that. We also detect
the xinerama screens for maximize, vertmaximize and initial window placement.
This could be improved by automatically resizing maximized windows when
the screen resolution changes and by moving windows that would be hidden
into visible space. Said changes will come shortly.
Tested by many. matthieu@ didn't oppose.
|
|
|
|
|
| |
note to self: When you mean to type cvs commit search.c, don't forget
the filename.
|
|
|
|
|
| |
``show all'' in the window search dialogue. Noticed and diff from Tim
van der Molen, thanks!
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement a handler for the MappingEvent, meaning that the keymap has changed.
When this happens, ungrab all bindings, update the map, and regrab.
Fixes the problem where some keybindings wouldn't work under non us or
uk keymaps (especially the .fr map, it seems). Issue noticed by
ajacoutot@, ratchov@, and a few people on misc. Based on an initial diff
from ratchov@.
ok okan.
|
|
|
|
|
|
| |
readability, and a bit of knf.
ok oga@
|
|
|
|
|
|
|
| |
The problem that's causing us to lose windows is that rapid hiding and
unhiding causes a backlog of X events, so we lose track of client state,
and delete cc->pwin when we should not. A proper fix will arrive when it's been
worked out.
|
|
|
|
|
|
|
|
|
| |
you do this is ugly. Also remove mod2 (numlock) and mod3 (odd) from the
list of keybinding modifiers. They don't make much sense here.
based on a heavily modified diff from Martynas.
ok okan.
|
|
|
|
|
|
|
|
| |
kbfunc one. Makes the code a lot easier to read.
Fixes a bug i introduced in the last commit here.
ok okan.
|
|
|
|
|
|
|
|
|
| |
binding, this expose another issue that's still being debugged.
Issue pointed out by Dan Harnett, thanks!
While i'm here KNF and rework the logic to not be ass-backwards.
ok okan.
|
|
|
|
| |
ok oga@
|
|
|
|
|
|
| |
some minor fixups, man page bits and knf.
ok oga@
|
|
|
|
|
|
|
|
|
|
| |
found by (among others) todd@ when you have a lot of clients and do something
that maps and umaps a lot of windows fast.
Debugged with aid of gdb, todd, okan and NULL pointers in a pizza place in
edmonton while waiting an inordinately long time for food.
ok okan@, todd@
|
|
|
|
|
|
| |
windows; merely an optimization.
ok oga@
|
|
|
|
|
|
|
|
|
|
| |
search dialogues to be manipulated with the mouse, too. It also allows
me to shrink the codebase further by killing grab_menu().
One known issue with highlighting the first entry in a search dialogue,
that'll be fixed soonish.
ok okan@, tested by Edd Barrett and todd@.
|
|
|
|
|
|
|
|
|
|
| |
idea for the
"slightly-less-abhorrent-hack-but-a-hack-nonetheless-TM" from oga@
grab and ungrab the keyboard to get around some silly X apps that like
stealing events
ok oga@
|
|
|
|
|
|
| |
fixes some windows that seem as if they don't fit; noticed by Edd Barrett.
ok oga@
|
|
|
|
| |
From Pierre Riteau. Thanks!
|
|
|
|
| |
ok okan.
|
| |
|
|
|
|
| |
Noticed by oga@, thanks!
|
|
|
|
|
|
|
|
|
| |
binding to CM-w.
Inital diff from Gleydson Soares
Feedback from oga@ and okan@
ok oga@
|
|
|
|
|
|
|
|
|
| |
found in other places of the tree. Remove sticky and font commandline
options and add another one for alternative config locations.
Split off cwmrc(5) from cwm(1), nuke #ifdef __OpenBSD__ while there.
tested by various kind people, feedback from oga@ and okan@ - thanks!
ok oga@, jasper@, okan@
|
|
|
|
|
|
|
|
|
|
|
| |
I've yet to speak to anyone who uses it, so just kill it.
You can still add/remove from groups using the mouse binding. Groups
may get a re-work sometime soon if i have a stroke of genius.
knocks about 4k off the i386 binary for me.
ok okan@, todd@.
|
|
|
|
| |
"ok with me" okan@.
|