Commit graph

5001 commits

Author SHA1 Message Date
Dana Jansens
0eaf2d15e7 fully maximize windows all the time. size increments are preferred sizes not required ones.
-- http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.2.3
2007-03-30 04:37:53 +00:00
Dana Jansens
00ddaf06bb can't use (unsigned)-1 for a max time, because timestamps wraparound and stuff. user the last_user_time as a default for new windows instead. 2007-03-28 19:57:07 +00:00
Dana Jansens
6372bd7c0d use CurrentTime constant 2007-03-28 19:42:45 +00:00
Dana Jansens
2876f22088 use CurrentTime when time gets moved backwards 2007-03-28 19:41:41 +00:00
Mikael Magnusson
58be283e94 copy paste error, spotted by tilman ftw 2007-03-28 18:15:36 +00:00
Mikael Magnusson
fc5b9a5612 fix compile without startup notification after r5711 2007-03-28 17:05:23 +00:00
Dana Jansens
f746a4975b use setenv to set up the DESKTOP_STARTUP_ID when launching programs.
before, if DESKTOP_STARTUP_ID was set in openbox, it would mess up adding it to the child's environment because it would appear twice. so now it will only appear once for the child always.
2007-03-28 06:00:19 +00:00
Dana Jansens
3ad050f7d8 proper logic for event_time_after, and wraparounds and such 2007-03-28 04:07:27 +00:00
Dana Jansens
bd27269850 more updates for toggled states. also updating the theme files. 2007-03-28 03:51:27 +00:00
Dana Jansens
5fb30e4488 add toggled-pressed and toggled-hover button states to themes. also rename toggled to be toggled-unpressed 2007-03-28 03:32:46 +00:00
Dana Jansens
33cc572402 drop some wasted client_validates. 2007-03-28 02:00:10 +00:00
Dana Jansens
d20f84f5de more handling time wraparounds 2007-03-28 01:53:37 +00:00
Dana Jansens
339d767044 handle time wrapping around. 2007-03-28 01:52:06 +00:00
Dana Jansens
0ec2282e2c make sure the ungrab happens after the grab. fracking X server doesn't have a monatomic clock.. 2007-03-28 01:11:40 +00:00
Mikael Magnusson
35c8d482fc move xml themes to 3.5 2007-03-25 19:26:42 +00:00
Dana Jansens
3278fdae73 open the menu with the mouse cursor just outside the top item 2007-03-25 17:32:58 +00:00
Dana Jansens
cbbda7a363 proper logic for using the menu overlap with middle centered submenus.
always center top level menus horizontally under the cursor. why is this not normal behavior..?
2007-03-25 17:26:22 +00:00
Dana Jansens
ee58f96a84 better placement for top level menus under the mouse cursor. middle placement is not used for this now. it was behaving differently than submenus so i'd like to have some consistency 2007-03-25 17:19:41 +00:00
Dana Jansens
afc015158a better vertical centering for when "middle" placement is enabled for menus 2007-03-25 17:16:32 +00:00
Dana Jansens
ede50bed27 return the old cursor. oops 2007-03-25 17:11:50 +00:00
Dana Jansens
03be1f8db3 add --disable-xcursor, if you don't want to use it.
fix help text for --disable-startup-notification
2007-03-25 17:06:43 +00:00
Dana Jansens
c567f5937b add support for the X Cursor library. this means a nicer cursor for startup notification. 2007-03-25 16:56:47 +00:00
Dana Jansens
59c5d1cc4e set up the menu's parent and children stuff before rendering it 2007-03-25 16:38:04 +00:00
Dana Jansens
e6c82786ff don't menu menus jump around at all anymore. open them on screen in the first place 2007-03-25 16:34:26 +00:00
Dana Jansens
2db6cf5130 xml tags are case sensitive 2007-03-25 15:39:56 +00:00
Dana Jansens
d6c45db8da bad idea.. more thought is needed.. 2007-03-25 15:16:00 +00:00
Dana Jansens
20f4d7fd44 when opening the client menu with a key, open it at the window's top left corner. is this clever or dumb? 2007-03-25 15:05:10 +00:00
Dana Jansens
eb2a0feb01 watch for reverttoparent reverting to the root window, which will create a DetailInferior focusin event on root.
adding some debug messages also which I am using..
2007-03-24 23:19:45 +00:00
Dana Jansens
4aa8d64f76 set the event_curtime when running an action to the time in the event used to run the action 2007-03-24 17:22:31 +00:00
Dana Jansens
d17fe2d29b there is no themetoxml.h 2007-03-24 17:19:33 +00:00
Dana Jansens
c4732aeed2 2007-03-24 17:17:02 +00:00
Dana Jansens
e77353f0cd clean up the title getting function 2007-03-24 17:06:19 +00:00
Dana Jansens
4c2b16e72d kill window title numbering...
probably it was a dumb idea all along. you're not picking the numbers yourself and you're probably not remembering which window they apply to and the focus indicator thinger is much more clever than numbers
2007-03-24 17:01:40 +00:00
Mikael Magnusson
af47a40617 check for minimum required versions of glib and pango 2007-03-24 15:08:16 +00:00
Mikael Magnusson
4ad3961e36 accidentally didn't include client_list_menu.h in dist 2007-03-23 17:02:11 +00:00
Dana Jansens
ba161e967b launch things on the desktop where you ran it.
also: kde apps move themselves to the current desktop when they open. what the heck?
2007-03-21 16:19:06 +00:00
Dana Jansens
c4446bebff ignore focus events on root that we don't care about 2007-03-21 16:12:21 +00:00
Dana Jansens
fd382fcc36 allow focus to disappear to black holes. (that is, windows not managed by openbox). the black hole may just be a window on another monitor. keyboard events aren't going to work in this scenario, though. 2007-03-21 15:54:30 +00:00
Dana Jansens
e227ac841e we're only getting one unmap notify now, with the new event mask on the root window. we're not getting one for the frame window anymore. 2007-03-20 04:42:25 +00:00
Dana Jansens
fb3d2033ba not passing timestamps sometimes and not others. set event_curtime when client messages provide a timestamp. 2007-03-19 17:59:16 +00:00
Dana Jansens
7db7d62ceb free unused path strings.
always pass in malloc'd memory, cuz it is going to be freed later.
2007-03-18 15:23:42 +00:00
Dana Jansens
0ed1b678d1 memory leak in xinerama setup code 2007-03-18 15:16:03 +00:00
Dana Jansens
841a83fa6d add -Wwrite-strings in debug mode 2007-03-18 15:15:38 +00:00
Dana Jansens
3678f8df8a use const char*'s when we should be 2007-03-18 15:07:30 +00:00
Dana Jansens
5fa443efc8 oops, logic error 2007-03-17 20:06:16 +00:00
Dana Jansens
50f631b9a7 mention when the logicalx/y is actually returned 2007-03-16 19:16:07 +00:00
Dana Jansens
73dac2b9b9 fix for bug introduced in revision 5643. logical size is supposed to be updated only when the window is resized. 2007-03-16 19:14:53 +00:00
Dana Jansens
f658ec961e animate presses on toggled titlebar buttons 2007-03-16 01:33:47 +00:00
Dana Jansens
a326d98ab7 2007-03-15 17:46:39 +00:00
Dana Jansens
2818259075 update COMPLIANCE 2007-03-15 17:37:30 +00:00